    /* ════════════════════════════════
       PAGE LAYOUT
    ════════════════════════════════ */
    .provider-auth-page {
        min-height: 100vh;
        display: grid;
        /* Provider: form on LEFT, panel on RIGHT — reversed from patient */
        grid-template-columns: 1fr 1fr;
        position: relative;
        margin: 80px auto;
    }

    /* ════════════════════════════════
       LEFT — FORM SIDE
    ════════════════════════════════ */
    .provider-auth-left {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 48px 52px;
        z-index: 2;
    }

    /* Subtle left glow */
    .provider-auth-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(0, 212, 170, 0.05) 0%, transparent 65%);
        pointer-events: none;
    }

    /* Form card */
    .provider-auth-card {
        width: 100%;
        max-width: 440px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-xl);
        backdrop-filter: blur(24px);
        box-shadow: var(--shadow-glow);
        padding: 44px 38px;
        position: relative;
        overflow: hidden;
    }

    /* Top-right teal glow blob */
    .provider-auth-card::before {
        content: '';
        position: absolute;
        top: -70px;
        right: -70px;
        width: 190px;
        height: 190px;
        background: radial-gradient(circle, rgba(0, 212, 170, 0.14) 0%, transparent 70%);
        pointer-events: none;
    }

    /* Bottom-left subtle blob */
    .provider-auth-card::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(74, 222, 128, 0.07) 0%, transparent 70%);
        pointer-events: none;
    }

    /* ── Card header ── */
    .provider-card-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 32px;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--glass-border);
    }

    .provider-card-header-icon {
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, rgba(0, 212, 170, 0.18), rgba(74, 222, 128, 0.12));
        border: 1px solid rgba(0, 212, 170, 0.35);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 0 24px rgba(0, 212, 170, 0.2);
    }

    .card-header-icon svg {
        width: 26px;
        height: 26px;
        color: var(--accent);
    }

    .provider-auth-form-title {
        font-size: 1.4rem;
        font-weight: 900;
        color: var(--text-white);
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .provider-auth-form-sub {
        font-size: 0.82rem;
        color: var(--text-dim);
        margin-top: 3px;
    }



    /* ── Form elements ── */
    .provider-form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .provider-form-label {
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--text-dim);
    }

    .provider-input-wrap {
        position: relative;
    }

    .provider-input-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.5;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
    }

    .input-icon svg {
        width: 16px;
        height: 16px;
    }

    .provider-form-input {
        width: 100%;
        background: var(--glass-2);
        border: 1px solid var(--glass-border);
        border-radius: var(--r);
        color: var(--text-bright);
        font-family: var(--font);
        font-size: 0.92rem;
        font-weight: 500;
        padding: 13px 14px 13px 42px;
        outline: none;
        transition: all 0.25s var(--ease);
        -webkit-appearance: none;
    }

    .form-input::placeholder {
        color: var(--text-dimmer);
    }

    .form-input:focus {
        background: rgba(0, 212, 170, 0.06);
        border-color: rgba(0, 212, 170, 0.55);
        box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12), var(--accent-glow);
    }

    /* Select arrow */
    select.provider-form-input {
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(240,246,255,0.45)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 36px;
    }

    select.provider-form-input option {
        background: #071428;
        color: #f0f6ff;
    }

    /* Password toggle */
    .provider-pw-toggle {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-dim);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        transition: color 0.2s;
    }

    .pw-toggle svg {
        width: 18px;
        height: 18px;
    }

    .pw-toggle:hover {
        color: var(--accent);
    }

    /* Forgot link */
    .provider-forgot-link {
        display: block;
        text-align: right;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--accent);
        margin-top: -8px;
        margin-bottom: 22px;
        transition: opacity 0.2s;
    }

    .forgot-link:hover {
        opacity: 0.7;
    }

    /* Remember me */
    .provider-check-row {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }

    .provider-check-row input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 17px;
        height: 17px;
        flex-shrink: 0;
        background: var(--glass-2);
        border: 1px solid var(--glass-border);
        border-radius: 5px;
        cursor: pointer;
        margin-top: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .provider-check-row input[type="checkbox"]:checked {
        background: linear-gradient(135deg, #00d4aa, #00a880);
        border-color: #00d4aa;
    }

    .provider-check-row input[type="checkbox"]:checked::after {
        content: '✓';
        color: #020817;
        font-size: 0.7rem;
        font-weight: 900;
        display: block;
        text-align: center;
        line-height: 17px;
    }

    .provider-check-label {
        font-size: 0.8rem;
        color: var(--text-dim);
        line-height: 1.5;
    }

    .check-label a {
        color: var(--accent);
        font-weight: 600;
    }

    /* Submit */
    .provider-btn-auth {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 14px 26px;
    }

    /* Card footer */
    .provider-card-footer {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--glass-border);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .provider-footer-link {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-dim);
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s;
    }

    .provider-footer-link svg {
        width: 13px;
        height: 13px;
        opacity: 0.7;
    }

    .provider-footer-link:hover {
        color: var(--accent);
    }

    .provider-footer-dot {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--glass-border);
    }

    /* ════════════════════════════════
       RIGHT — INFO PANEL
    ════════════════════════════════ */
    .provider-auth-right {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 48px 52px;
        z-index: 2;
        overflow: hidden;
    }

    /* ambient glows on right */
    .provider-auth-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 70% 55% at 80% 25%, rgba(0, 212, 170, 0.09) 0%, transparent 60%),
            radial-gradient(ellipse 55% 45% at 20% 80%, rgba(74, 222, 128, 0.06) 0%, transparent 55%);
        pointer-events: none;
    }

    /* left separator line */
    .provider-auth-right::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(180deg,
                transparent 0%,
                rgba(0, 212, 170, 0.35) 25%,
                rgba(74, 222, 128, 0.25) 75%,
                transparent 100%);
    }

    /* Brand */
    .provider-auth-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .provider-auth-brand-logo {
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, #00d4aa, #4ade80);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 24px rgba(0, 212, 170, 0.45);
        flex-shrink: 0;
    }

    .provider-auth-brand-logo svg {
        width: 24px;
        height: 24px;
    }

    .provider-auth-brand-name {
        font-size: 1.35rem;
        font-weight: 900;
        letter-spacing: -0.02em;
        color: var(--text-white);
    }

    .provider-auth-brand-name span {
        color: var(--accent);
    }

    /* Hero copy */
    .provider-auth-hero {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 0;
    }

    .provider-auth-hero h1 {
        font-size: clamp(2rem, 3.2vw, 2.9rem);
        font-weight: 900;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
    }

    .provider-auth-hero p {
        font-size: 1rem;
        color: var(--text-mid);
        max-width: 420px;
        margin-bottom: 40px;
        line-height: 1.75;
    }

    /* Feature list */
    .provider-auth-features {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .provider-auth-feature {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-mid);
    }

    .provider-af-icon {
        width: 34px;
        height: 34px;
        background: var(--glass-2);
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .provider-af-icon svg {
        width: 17px;
        height: 17px;
        color: var(--accent);
    }

    /* Stats strip */
    .provider-auth-stats {
        display: flex;
        gap: 32px;
    }

    .provider-auth-stat {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .provider-auth-stat strong {
        font-size: 1.5rem;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .provider-auth-stat span {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-dim);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    /* ── Mobile brand ── */
    .provider-mobile-brand {
        display: none;
        align-items: center;
        justify-content: center;
        padding: 28px 20px 0;
        gap: 10px;
    }

    .provider-mobile-brand .provider-auth-brand-logo {
        width: 36px;
        height: 36px;
    }

    .provider-mobile-brand .provider-auth-brand-name {
        font-size: 1.15rem;
    }

    /* ── Security badge ── */
    .provider-security-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(0, 212, 170, 0.07);
        border: 1px solid rgba(0, 212, 170, 0.2);
        border-radius: var(--r-full);
        padding: 7px 14px;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--accent);
        letter-spacing: 0.05em;
        margin-top: 28px;
        width: fit-content;
    }

    .provider-security-badge svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    /* ════════════════════════════════
       RESPONSIVE
    ════════════════════════════════ */
    @media (max-width: 900px) {
        .provider-auth-page {
            grid-template-columns: 1fr;
        }

        .provider-auth-right {
            display: none;
        }

        .provider-mobile-brand {
            display: flex;
        }

        .provider-auth-left {
            padding: 16px 20px 48px;
            align-items: flex-start;
        }

        .provider-auth-card {
            max-width: 100%;
            padding: 28px 22px;
        }
    }