.sh-provider-onboarding {
    max-width: 860px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.sh-onboarding-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.sh-onboarding-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e5e7eb;
    z-index: 1;
}

.sh-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
}

.sh-step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.sh-progress-step.active .sh-step-number {
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.sh-progress-step.completed .sh-step-number {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.sh-onboarding-progress .sh-progress-step.completed~.sh-onboarding-progress::before,
.sh-onboarding-progress .sh-progress-step.completed~.sh-progress-step .sh-step-number {
    background: #2563eb;
}

.sh-step-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sh-progress-step.active .sh-step-label {
    color: #2563eb;
}

.sh-progress-step.completed .sh-step-label {
    color: #374151;
}

.sh-step-content {
    display: none;
    animation: shFadeIn 0.4s ease;
}

.sh-step-content.active {
    display: block;
}

@keyframes shFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sh-step-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sh-step-desc {
    color: #6b7280;
    margin: 0 0 28px;
    font-size: 15px;
}

.sh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .sh-form-row {
        grid-template-columns: 1fr;
    }
}

.sh-form-group {
    margin-bottom: 20px;
}

.sh-form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.sh-required {
    color: #dc2626;
}

.sh-form-group input[type="text"],
.sh-form-group input[type="tel"],
.sh-form-group input[type="email"],
.sh-form-group select,
.sh-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.sh-form-group select {
    height: 42px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}

.sh-form-group input:focus,
.sh-form-group select:focus,
.sh-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sh-form-group input:disabled {
    background: #f3f4f6;
    color: #6b7280;
}

.sh-form-group textarea {
    resize: vertical;
    height: 75px;
    min-height: auto;
}

.sh-field-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 4px 0 0;
}

.sh-media-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sh-media-preview img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}

.sh-step-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.sh-button-primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.sh-button-primary:hover {
    background: #1d4ed8;
}

.sh-button-primary:disabled {
    background: #93c5fd;
    border-color: #93c5fd;
    cursor: not-allowed;
}

.sh-button-secondary {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.sh-button-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.sh-map-container {
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.sh-radius-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sh-radius-control input[type="range"] {
    flex: 1;
    accent-color: #2563eb;
}

.sh-radius-control #sh-radius-value {
    font-weight: 700;
    color: #2563eb;
    min-width: 60px;
    font-size: 14px;
}

.sh-kyc-document {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.sh-kyc-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sh-kyc-doc-header h4 {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.sh-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sh-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.sh-kyc-upload-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.sh-kyc-upload-row input[type="file"] {
    flex: 1;
    font-size: 13px;
}

.sh-kyc-feedback {
    margin-top: 8px;
    font-size: 13px;
}

.sh-kyc-feedback.success {
    color: #059669;
}

.sh-kyc-feedback.error {
    color: #dc2626;
}

.sh-notice {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin: 20px 0;
}

.sh-notice p {
    margin: 0;
}

.sh-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.sh-notice-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.sh-status-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 28px;
}

.sh-status-card .sh-status-icon .dashicons {
    font-size: 56px;
    width: 56px;
    height: 56px;
}

.sh-status-card h3 {
    font-size: 22px;
    margin: 16px 0 8px;
}

.sh-status-card p {
    font-size: 15px;
    margin: 0;
    color: #6b7280;
}

.sh-status-pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.sh-status-pending .sh-status-icon .dashicons {
    color: #f59e0b;
}

.sh-status-rejected {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.sh-status-rejected .sh-status-icon .dashicons {
    color: #dc2626;
}

.sh-status-approved {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.sh-status-approved .sh-status-icon .dashicons {
    color: #10b981;
}

.sh-status-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.sh-status-info .sh-status-icon .dashicons {
    color: #3b82f6;
}

.sh-review-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
}

.sh-review-info h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #111827;
}

.sh-review-info ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.sh-review-info li {
    color: #4b5563;
    margin-bottom: 8px;
    font-size: 14px;
}

.sh-success-card {
    text-align: center;
    padding: 48px 20px;
}

.sh-success-card .sh-success-icon .dashicons {
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: #10b981;
}

.sh-success-card h3 {
    font-size: 26px;
    margin: 16px 0 8px;
    color: #111827;
}

.sh-success-card p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.sh-next-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.sh-next-steps .sh-button {
    min-width: 200px;
}

.sh-loading {
    opacity: 0.7;
    pointer-events: none;
}

.sh-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: shSpin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes shSpin {
    to {
        transform: rotate(360deg);
    }
}

.sh-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: shSpin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.sh-map-controls .sh-form-group label {
    font-size: 12px;
    color: #6b7280;
}

.sh-map-controls input[readonly] {
    background: #f9fafb;
    cursor: default;
    font-size: 12px;
}

.sh-auto-detect {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.sh-auto-detect .dashicons {
    margin-top: 2px;
}

.sh-detect-status {
    font-size: 13px;
    color: #6b7280;
}

.sh-detect-status.success {
    color: #059669;
}

.sh-detect-status.error {
    color: #dc2626;
}

.sh-onboarding-header {
    text-align: center;
    margin-bottom: 36px;
}

.sh-onboarding-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sh-onboarding-header p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.sh-step-overview {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.sh-step-overview p {
    margin: 0 0 8px;
    color: #4b5563;
    font-size: 14px;
}

.sh-step-overview ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.sh-step-overview li {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Login Required State */
.sh-onboarding-login-required {
    max-width: 860px;
    margin: 30px auto;
}

.sh-onboarding-login-required .servicehive-auth {
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.sh-onboarding-login-required .servicehive-auth .servicehive-button {
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 10px;
}

/* ==========================================================================
   Section Card Layout (Unified Onboarding 1-Pager Style matching booking form)
   ========================================================================== */
.sh-provider-onboarding-wrapper {
    max-width: 860px;
    margin: 30px auto;
    background: transparent;
}

.sh-booking-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    transition: all 0.25s ease;
}

.sh-booking-step-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border-color: #cbd5e1;
}

.sh-booking-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.sh-booking-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eeebff;
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
}

.sh-booking-step-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

/* Status screens styling */
.sh-onboarding-status-screen {
    animation: shFadeIn 0.4s ease;
}

.sh-onboarding-submit-bar .sh-button {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
}

.sh-onboarding-submit-bar .sh-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.sh-kyc-document input[type="file"] {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.2s;
}

.sh-kyc-document input[type="file"]:hover {
    border-color: #4f46e5;
}