/* ============================================================
   auth.css — iDawi Doctor Auth Pages
   Matches Figma: Sing up-Doctor side (node 390-5019)
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #F95259;
    --coral: #FF6C77;
    --dark-green: #022A32;
    --slate: #4B6870;
    --slate-light: #8FA8B0;
    --bg-blue: #F2F6FF;
    --white: #FFFFFF;
    --shadow-sm: 0px 0px 1px 0px rgba(0, 0, 0, 0.25);
    --shadow-card: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
    --shadow-stat: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
    --radius-btn: 17px;
    --radius-card: 32px;
    --font-sora: 'Sora', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-manrope: 'Manrope', sans-serif;
    --gradient-btn: linear-gradient(90deg, #FF787E 0%, #F95259 100%);
}

body.auth-body {
    font-family: var(--font-inter);
    background: var(--white);
    min-height: 100vh;
    color: var(--dark-green);
}

/* ============================================================
            TWO-COLUMN AUTH LAYOUT
            ============================================================ */
.auth-page {
    display: flex;
    min-height: 100vh;
    align-items: flex-start;
    overflow-x: hidden;
}

/* ── Left Panel — D1: Figma 1440×1024, left pane 716/1440 ≈ 49.7% ── */
.auth-left {
    flex: 0 0 49.7%;
    max-width: 49.7%;
    padding: 28px 40px 32px 64px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    min-height: 100vh;
    overflow-y: auto;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 14px;
    transition: opacity 0.2s;
    margin-left: 40px;
}

.auth-back-link:hover {
    opacity: 0.75;
    text-decoration: none;
    color: var(--primary);
}

.auth-back-link svg {
    flex-shrink: 0;
}

.auth-logo {
    display: block;
    width: 90px;
    height: auto;
    margin-bottom: 0px;
    margin-left: 122px;
    /* D1 — align with signup form card */
}

/* Login: logo already inside .auth-center-block so no extra offset needed */
.auth-left--login .auth-logo {
    margin-left: 0;
}

/* Language toggle */
.auth-lang-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.btn-lang {
    padding: 4px 10px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: var(--white);
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-lang.active,
.btn-lang:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* D1 — Figma: form card fixed 408px wide */
.auth-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 408px;
    max-width: 408px;
}

/* Signup only: positioned at left 186px from panel edge (186 - 64 left padding = 122) */
.auth-left:not(.auth-left--login) .auth-form-area {
    margin-left: 122px;
}

.auth-title {
    font-family: var(--font-sora);
    font-weight: 700;
    font-size: 26px;
    color: var(--dark-green);
    line-height: 1.2;
    margin-bottom: 40px;
}

.auth-subtitle {
    font-family: var(--font-sora);
    font-weight: 600;
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 28px;
}

/* ── Form ── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Hide labels — reference uses icon+placeholder only */
.auth-field label {
    display: none;
}

/* Icon-inside-field wrapper */
.auth-field-icon-wrap {
    position: relative;
}

.auth-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--slate-light);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.auth-left:not(.auth-left--login) .auth-field-icon {
    color: #022A32;
}

.auth-field-icon-wrap input {
    padding-left: 42px !important;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="tel"] {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.13);
    border-radius: 10px;
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 13.5px;
    color: var(--dark-green);
    background: var(--white);
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s;
}

.auth-field input:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.auth-field input.is-invalid {
    border-color: var(--primary);
}

.auth-field .help-block {
    font-size: 11px;
    color: var(--primary);
    margin-top: 2px;
}

/* Phone + OTP */
.auth-phone-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.auth-phone-row input[type="tel"] {
    flex: 1;
}

.btn-send-otp {
    flex-shrink: 0;
    padding: 13px 13px;
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-send-otp:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-send-otp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-otp-row {
    display: none;
    gap: 8px;
    align-items: flex-start;
    margin-top: -6px;
}

.auth-otp-row.visible {
    display: flex;
}

.auth-otp-row input[type="text"] {
    flex: 1;
    letter-spacing: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

.btn-verify-otp {
    flex-shrink: 0;
    padding: 13px 12px;
    background: var(--dark-green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-verify-otp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-status {
    font-size: 12px;
    margin-top: 2px;
    display: none;
}

.otp-status.success {
    color: #1A8A4A;
    display: block;
}

.otp-status.error {
    color: var(--primary);
    display: block;
}

.phone-verified-badge {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #1A8A4A;
    font-weight: 600;
    margin-top: 2px;
}

.phone-verified-badge.visible {
    display: flex;
}

/* Referral code toggle (keep for SOW compliance) */
.auth-referral-toggle {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 13px;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: opacity 0.2s;
}

.auth-referral-toggle:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.auth-referral-field {
    display: none;
}

.auth-referral-field.visible {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Password toggle */
.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-right: 44px;
}

.btn-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-light);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

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

/* Checkboxes */
.auth-checks-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-inter);
    font-size: 12.5px;
    color: var(--slate);
    cursor: pointer;
    line-height: 1.4;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.auth-checkbox-label input[type="checkbox"]:checked {
    /* background: var(--primary);
    border-color: var(--primary); */
    border: none;
    background-color: transparent;
    background-image: url(../imag_src/new_img/tickimg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-origin: border-box;
    background-clip: border-box;

}

.auth-checkbox-label input[type="checkbox"]:checked::after {
    /* content: '';
    position: absolute;
    width: 4px;
    height: 7px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px); */
    display: none;
    content: none;
}

.auth-checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.auth-checkbox-label a:hover {
    text-decoration: underline;
}

/* Remember me — red label to match Figma */
.auth-remember-label {
    color: var(--primary);
    font-weight: 400;
}

.auth-remember-label input[type="checkbox"] {
    accent-color: var(--primary);
}

.auth-forgot-link {
    font-family: var(--font-inter);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
    padding-top: 1px;
}

.auth-forgot-link:hover {
    text-decoration: underline;
    color: var(--primary);
}

/* Submit button */
.btn-auth-submit {
    width: 100%;
    padding: 15px 12px;
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(249, 82, 89, 0.35);
    margin-top: 6px;
}

.btn-auth-submit:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 82, 89, 0.45);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Auth switch link */
.auth-switch {
    text-align: center;
    font-family: var(--font-inter);
    font-size: 14px;
    color: var(--dark-green);
    margin-top: 14px;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Error alerts */
.auth-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 10px;
}

.auth-alert-error {
    background: #FEF0F0;
    color: #C0392B;
    border: 1px solid #F5C6CB;
}

.auth-alert-success {
    background: #EFF8F3;
    color: #1A8A4A;
    border: 1px solid #B8DFC9;
}

/* ── Login page: left panel layout ── */
.auth-left--login {
    padding: 36px 40px;
    justify-content: flex-start;
}

/* E1 — Login card: Figma 408×444.59, top:290, left:186 (panel 40px padding → margin-left 146) */
.auth-center-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 408px;
    max-width: 408px;
    margin-left: 146px;
    margin-right: 0;
    padding-top: 130px;
    /* 290 - 36 top padding - back link area ≈ 130 */
}

/* Login: reset form-area width/margin (inherited from signup rule); center block handles layout */
.auth-left--login .auth-form-area {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}

.auth-left--login .auth-title {
    font-weight: 500;
}

/* ── Login: underline-only input style ── */
/* Without icon wrap */
.auth-left--login .auth-field input[type="text"],
.auth-left--login .auth-field input[type="email"],
.auth-left--login .auth-field input[type="password"] {
    border: none !important;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 0 !important;
    padding-right: 36px !important;
    box-shadow: none !important;
}

/* With icon wrap — add left space for icon */
.auth-left--login .auth-field .auth-field-icon-wrap input[type="text"],
.auth-left--login .auth-field .auth-field-icon-wrap input[type="email"],
.auth-left--login .auth-field .auth-field-icon-wrap input[type="password"] {
    padding-left: 30px !important;
}

.auth-left--login .auth-field input:focus {
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
}

.auth-left--login .auth-field input.is-invalid {
    border-bottom-color: var(--primary) !important;
}

/* Shrink icon to fit underline style */
.auth-left--login .auth-field-icon {
    left: 0;
    width: 16px;
    height: 16px;
}

/* Eye toggle sits on baseline */
.auth-left--login .btn-toggle-pw {
    right: 0;
}

/* Fix browser autofill blue background */
.auth-left--login .auth-field input:-webkit-autofill,
.auth-left--login .auth-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--dark-green) !important;
}

/* ============================================================
            RIGHT PANEL — Figma-accurate: background blob + animated cards
            Figma frame 1440×1024. Right panel: x=716→1440 (724px wide)
            All % positions: x relative to 724px, y relative to 1024px
            bg_blob starts at y=-296 in frame → object-position: center 47%
            ============================================================ */
.auth-right {
    flex: 0 0 50.3%;
    max-width: 50.3%;
    background: #ffffff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background-image: url("../imag_src/new_img/desktoplogin.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

/* ── Background blob image (Group 289560) ── */
.rp-bg {
    position: absolute;
    /* top: 50%;
    right: -15%;
    transform: translateY(-50%);
    height: 145%;
    width: auto; */
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Shared: all positioned right-panel card/bubble images ── */
.rp-el {
    position: absolute;
    display: block;
    z-index: 1;
    pointer-events: none;
    height: auto;
}

/*
           Blob is at right:-15%, so left edge ~23% into panel.
           All left values = original Figma % + 23% shift.
           Bubble 1  — 34%  + 23% = 57%
           Bubble 2  — 72.9%+ 23% = 96%
           Bubble 3  — 63.3%+ 23% = 86%
           Badge     — 32.7%+ 23% = 56%
           Patients  — 16.9%+ 23% = 40%
           Testimonial—27.5%+ 23% = 51%
         */

/* Bubble 1 — Figma 78×78 at top:52, left:962 */
.rp-bubble-1 {
    left: 44.98%;
    /* (962-716)/724 */
    /* top: 5.08%; */
    top: 3.08%;
    /* 52/1024 */
    /* width: 10.77%; */
    width: 70px;
    /* 78/724 */
    max-width: 70px;
    /* animation: rpFloat 3.5s ease-in-out infinite alternate; */
    z-index: 2;
}

/* Bubble 2 — Figma 70×70 at top:345, left:1244 */
.rp-bubble-2 {
    left: 72.93%;
    /* (1244-716)/724 */
    top: 33.69%;
    /* 345/1024 */
    /* width: 9.67%; */
    width: 70px;
    /* 70/724 */
    max-width: 70px;
    animation: none;
    z-index: 2;
}

/* Desktop signup fine-tune: keep safe gap from +15k card */
.auth-left:not(.auth-left--login)+.auth-right .rp-bubble-2 {
    left: 85%;
    top: 36.2%;
}

.auth-left--login+.auth-right .rp-bubble-2 {
    left: 85%;
    top: 33.2%;
}

/* Bubble 3 — Figma 70×70 at top:502, left:1174 */
.rp-bubble-3 {
    left: 79.26%;
    /* (1174-716)/724 */
    top: 50.02%;
    /* 502/1024 */
    /* width: 9.67%; */
    width: 70px;
    /* 70/724 */
    max-width: 70px;
    /* animation: rpFloat 3.8s ease-in-out infinite alternate;
       animation-delay: 1.4s; */
    z-index: 2;
}

/* +15k badge card — D2: Figma 470.16×125.70 at top:162, left:953 (panel 724px at x=716)
         HTML card: coral eye icon + “+15k” / patients copy (replaces badge_15k.png) */
.rp-badge {
    /* left: 50.7%; */
    left: 41.7%;
    /* (953-716)/724 */
    top: 15.8%;
    /* 162/1024 */
    /* width: 47%; */
    width: 57%;
    max-width: 501px;
    /* max-width: 389px; */
    animation: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 22px;
    background: var(--bg-blue);
    border: 1.5px solid #FFFFFF;
    border-radius: 26px;
    box-shadow: var(--shadow-card);
    box-sizing: border-box;
}

@media(min-width:1300px) and (max-width:1399px) {
    .rp-badge {
        /* left: 50.7%; */
        left: 48.7%;
        /* (953-716)/724 */
        top: 13.8%;
        /* 162/1024 */
        /* width: 47%; */
        width: 49%;
        max-width: 501px;
        /* max-width: 389px; */
        animation: none;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 24px 22px;
        background: var(--bg-blue);
        border: 1.5px solid #FFFFFF;
        border-radius: 26px;
        box-shadow: var(--shadow-card);
        box-sizing: border-box;
    }

    .rp-bubble-1 {
        left: 47.98%;
        /* (962-716)/724 */
        /* top: 5.08%; */
        top: 1.08%;
        /* 52/1024 */
        /* width: 10.77%; */
        width: 70px;
        /* 78/724 */
        max-width: 70px;
        /* animation: rpFloat 3.5s ease-in-out infinite alternate; */
        z-index: 2;
    }

    .rp-testimonial {
        /* left: 27.5%; */
        left: 38.5%;
        /* 915 - 716 panel-start = 199 → 199/724 */
        /* top: 57.4%; */
        top: 63.4% !important;
        /* 588/1024 */
        width: 55%;
        /* 444/724 */
        max-width: 444px;
        /* animation: rpFloatUp 4.2s ease-in-out infinite alternate;
    animation-delay: 1s; */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 36px 32px 24px;
        background: var(--white);
        border-radius: 28px;
        box-shadow: var(--shadow-card);
        box-sizing: border-box;
        overflow: visible;
        pointer-events: auto;
    }

    .auth-left--login+.auth-right .rp-bubble-2 {
        top: 35%;
    }
}

@media(min-width:768px) and (max-width:1023px) {
    .rp-badge {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 33% !important;
    }

    .rp-badge-text {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

}

.rp-badge-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-badge-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.rp-badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rp-badge-number {
    font-family: var(--font-sora);
    font-size: 30px;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.1;
}

.rp-badge-label {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.35;
}

/* New Patients stats card — D2: Figma 299.17×128.69 at top:365, left:838
      HTML card: pie-chart + copy + graphe sparkline (replaces card_patients.png) */
.rp-stats {
    /* left: 16.85%; */
    left: 33.85%;
    /* (838-716)/724 */
    top: 35.6%;
    /* 365/1024 */
    width: 38%;
    /* 299/724 */
    max-width: 300px;
    /* animation: rpFloatUp 3.6s ease-in-out infinite alternate-reverse;
       animation-delay: 0.6s; */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 14px 18px;
    background: var(--white);
    border: 0.5px solid #F95259;
    /* border-right: 5px solid var(--coral);
       border-bottom: 5px solid var(--coral); */
    border-radius: 10px;
    box-shadow: var(--shadow-stat);
    box-sizing: border-box;
}

.rp-stats-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-stats-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-stats-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.rp-stats-label {
    font-family: var(--font-inter);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--coral);
    line-height: 1;
}

.rp-stats-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.rp-stats-metrics {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rp-stats-number {
    font-family: var(--font-sora);
    font-size: 30px;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1;
}

.rp-stats-trend {
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.2;
    white-space: nowrap;
}

.rp-stats-trend strong {
    font-weight: 700;
    color: var(--coral);
}

.rp-stats-graph {
    flex-shrink: 0;
    width: 42%;
    max-width: 110px;
    height: auto;
    align-self: flex-end;
    display: block;
    pointer-events: none;
}

/* Testimonial card — D3: Figma Group 289562 = 444×290px at top:588, left:915 (724px panel)
      HTML carousel: kama quote + slides + clickable dots + autoplay */
.rp-testimonial {
    /* left: 27.5%; */
    left: 38.5%;
    /* 915 - 716 panel-start = 199 → 199/724 */
    /* top: 57.4%; */
    top: 61.4%;
    /* 588/1024 */
    width: 55%;
    /* 444/724 */
    max-width: 444px;
    /* animation: rpFloatUp 4.2s ease-in-out infinite alternate;
    animation-delay: 1s; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 32px 24px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    box-sizing: border-box;
    overflow: visible;
    pointer-events: auto;
}

@media(min-width:768px) and (max-width:1023px) {
    .rp-testimonial {
        border: 0.62px solid #FF6C7780;
    }
}

.rp-testimonial-quote {
    position: absolute;
    top: -11px;
    left: 37px;
    width: 30px;
    height: auto;
    display: block;
    pointer-events: none;
    z-index: 2;
}

.rp-testimonial-viewport {
    width: 100%;
    overflow: hidden;
}

.rp-testimonial-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.rp-testimonial-slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0 2px;
}

.rp-testimonial-name {
    font-family: var(--font-sora);
    font-size: 20px;
    font-weight: 700;
    color: var(--coral);
    line-height: 1.2;
    margin: 0 0 4px;
}

.rp-testimonial-role {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    color: var(--slate-light);
    line-height: 1.3;
    margin: 0 0 14px;
}

.rp-testimonial-text {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}

.rp-testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rp-testimonial-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #F7C8CB;
    display: inline-block;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.rp-testimonial-dot:hover {
    transform: scale(1.15);
}

.rp-testimonial-dot.is-active {
    background: var(--coral);
}

.rp-testimonial-dot:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

/* Float keyframes */
@keyframes rpFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-6px);
    }
}

@keyframes rpFloatUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

/* Page entrance animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

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

.auth-left {
    animation: fadeInLeft 0.5s ease both;
}

.auth-right {
    animation: fadeInRight 0.5s ease both;
}

/* Mobile-only elements — hidden on desktop */
.auth-mobile-footer,
.auth-mobile-middle {
    display: none;
}

/* ============================================================
            RESPONSIVE
            ============================================================ */
@media (max-width: 1280px) {
    .auth-left {
        flex: 0 0 49.7%;
        max-width: 49.7%;
        padding: 32px 40px;
    }

    .auth-left:not(.auth-left--login) .auth-form-area {
        margin-left: 60px;
    }

    .auth-center-block {
        margin-left: 80px;
    }

    .rp-badge {
        max-width: 420px;
        padding: 16px 20px;
        gap: 14px;
    }

    .rp-badge-icon {
        width: 50px;
        height: 50px;
    }

    .rp-badge-icon img {
        width: 40px;
        height: 40px;
    }

    .rp-badge-number {
        font-size: 24px;
    }

    .rp-badge-label {
        font-size: 13px;
    }

    .rp-stats {
        max-width: 280px;
        padding: 12px 14px 12px 16px;
        gap: 8px;
    }

    .rp-stats-number {
        font-size: 32px;
    }

    .rp-testimonial {
        max-width: 410px;
        padding: 32px 28px 22px;
        gap: 16px;
    }

    .rp-testimonial-quote {
        width: 42px;
        left: 18px;
    }

    .rp-testimonial-name {
        font-size: 18px;
    }

    .rp-testimonial-text {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .auth-title {
        font-size: 26px;
    }

    .auth-left:not(.auth-left--login) .auth-form-area {
        margin-left: 0;
    }

    .auth-center-block {
        margin-left: 0;
    }

    .rp-badge {
        width: 62%;
        max-width: 380px;
        padding: 14px 16px;
        gap: 12px;
        border-radius: 24px;
    }

    .rp-badge-icon {
        width: 46px;
        height: 46px;
    }

    .rp-badge-number {
        font-size: 22px;
    }

    .rp-badge-label {
        font-size: 12px;
    }

    .rp-stats {
        width: 44%;
        max-width: 260px;
        padding: 12px 12px 12px 14px;
        border: 0.5px solid #F95259;
    }

    .rp-stats-number {
        font-size: 28px;
    }

    .rp-stats-label {
        font-size: 10px;
    }

    .rp-stats-trend {
        font-size: 11px;
    }

    .rp-stats-graph {
        max-width: 90px;
    }

    .rp-testimonial {
        width: 64%;
        max-width: 390px;
        padding: 28px 24px 20px;
        border-radius: 24px;
        gap: 14px;
    }

    .rp-testimonial-quote {
        width: 38px;
        left: 16px;
        top: -4px;
    }

    .rp-testimonial-name {
        font-size: 17px;
    }

    .rp-testimonial-role {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .rp-testimonial-text {
        font-size: 12px;
    }

    .rp-testimonial-dot {
        width: 7px;
        height: 7px;
    }
}

/* ═══ Tablet (768px – 1279px) ═══ */
@media (min-width: 768px) and (max-width: 849px) {

    /* Tablet-specific bubble positioning — closer to desktop values */
    .rp-bubble-1 {
        left: 35% !important;
        top: 2% !important;
        width: 15% !important;
    }

    .rp-bubble-2 {
        left: 70% !important;
        top: 55% !important;
        width: 13% !important;
    }

    .rp-bubble-3 {
        left: 50% !important;
        top: 100% !important;
        width: 13% !important;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) .auth-field-icon {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 11px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #doctor-login-form .auth-password-wrap .auth-field-icon {
        min-width: 14px !important;
        min-height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 0px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #doctor-login-form .auth-password-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        min-width: 285.6px !important;
        min-height: 37.4px !important;
        max-width: 285.6px !important;
        max-height: 37.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        width: 285.6px !important;
        height: 36.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    .rp-testimonial {
        left: 0% !important;
        top: 61.54% !important;
        width: 100% !important;
        max-width: 300px !important;
        padding: 24px 18px 16px !important;
        border-radius: 20px !important;
        gap: 12px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) .auth-field-icon {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 0px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #doctor-login-form .auth-password-wrap .auth-field-icon {
        min-width: 14px !important;
        min-height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 0px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .btn-auth-submit {
        margin-top: 0px !important;
    }

    #doctor-login-form .auth-password-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;

        min-height: 37.4px !important;
        width: 100% !important;
        max-height: 37.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        width: 100% !important;
        height: 36.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    .rp-testimonial {
        left: 0% !important;
        height: 170px !important;
        top: 67.54% !important;
        width: 100% !important;
        max-width: 300px !important;
        padding: 28px 18px 16px !important;
        border-radius: 20px !important;
        gap: 12px !important;
    }

    .auth-back-link {
        padding: 15px 0px 0px 15px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .auth-scrollsection {
        height: 320px !important;
    }

    .auth-mobile-middle {
        display: none !important;
    }

    .auth-page {
        flex-direction: row !important;
        align-items: stretch !important;
        flex-wrap: wrap !important;
    }

    /* Form — wider so "Create your account!" fits on one line */
    .auth-left {
        flex: 0 0 46% !important;
        max-width: 46% !important;
        padding: 32px 40px !important;
        min-height: 100vh !important;
        overflow-y: visible !important;
    }

    .auth-left:not(.auth-left--login) .auth-form-area {
        width: 285.6px;
        max-width: 285.6px;
    }

    .auth-left:not(.auth-left--login) .auth-logo {
        margin-left: 0 !important;
    }

    .auth-back-link {
        margin-left: 0 !important;
    }

    .auth-title {
        font-size: 26px !important;
        white-space: normal;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .auth-left:not(.auth-left--login) .auth-title {
        font-size: 22.4px !important;
        font-weight: 600;
        line-height: 28.224px;
        margin-bottom: 28px;
    }

    .auth-left:not(.auth-left--login) .auth-subtitle {
        font-size: 11.2px;
        font-weight: 600;
        line-height: 14.112px;
        margin-bottom: 20px;
    }

    /* ── Login tablet — Figma Frame 427319912 ── */
    .auth-left--login {
        justify-content: flex-start !important;
        padding: 32px 40px !important;
    }

    .auth-left--login .auth-center-block {
        /* width: 285.6px !important;
                 max-width: 285.6px !important; */
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 84px !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .auth-left--login .auth-logo {
        width: 79.1px !important;
        height: 30.51px !important;
        margin-bottom: 24.5px !important;
    }

    .auth-left--login .auth-title {
        font-size: 22.4px !important;
        font-weight: 600 !important;
        line-height: 28px !important;
        margin-bottom: 28px !important;
    }

    .auth-left--login .auth-form {
        gap: 14px !important;
    }

    /* ─────────────────────────────────────────────────────────────
                EMAIL FIELD — Figma Frame spec: 285.6×36.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */




    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) input[type="email"] {
        flex: 1 !important;
        width: 100% !important;
        height: 14px !important;
        padding: 0px !important;
        margin: 0 !important;
        margin-left: 28px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #4B6870 !important;
        min-width: 0 !important;
        box-shadow: none !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) input[type="email"]::placeholder {
        color: #4B6870 !important;
    }

    /* ─────────────────────────────────────────────────────────────
                PASSWORD FIELD — Figma Frame spec: 285.6×37.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */



    #doctor-login-form .auth-password-wrap input[type="password"] {
        flex: 1 !important;
        min-height: 15px !important;
        max-height: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-left: 27px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 12.6px !important;
        line-height: 15px !important;
        color: #4B6870 !important;
        min-width: 0 !important;
        box-shadow: none !important;
        padding-right: 0 !important;
    }

    #doctor-login-form .auth-password-wrap input[type="password"]::placeholder {
        color: #4B6870 !important;
    }

    #doctor-login-form .auth-password-wrap .btn-toggle-pw {
        display: none !important;
    }

    /* ─────────────────────────────────────────────────────────────
                REMEMBER ME CHECKBOX — Figma spec: 99.01×14, gap 10.47px
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .auth-checks-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        flex-wrap: wrap !important;
    }

    .auth-left--login .auth-checkbox-label {
        width: 99.01px !important;
        height: 14px !important;
        gap: 10.47px !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.27px !important;
        line-height: 14px !important;
        color: #F95259 !important;
        margin: 0 !important;
    }

    .auth-left--login .auth-checkbox-label input[type="checkbox"] {
        width: 11.27px !important;
        height: 11.27px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        accent-color: #F95259 !important;
    }

    .auth-left--login .auth-forgot-link {
        display: none !important;
    }

    /* ─────────────────────────────────────────────────────────────
                SUBMIT BUTTON — Figma spec: 285.6×36.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .btn-auth-submit {
        min-width: 285.6px !important;
        min-height: 36.4px !important;
        max-width: 285.6px !important;
        max-height: 36.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: linear-gradient(90deg, #FF787E 0%, #F95259 100%) !important;
        border-radius: 11.9px !important;
        font-family: 'Sora' !important;
        font-weight: 700 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #FFFFFF !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border: none !important;
        cursor: pointer !important;
        transition: opacity 0.2s !important;
    }

    .auth-left--login .btn-auth-submit:hover {
        opacity: 0.92 !important;
    }

    /* ─────────────────────────────────────────────────────────────
                SIGN UP LINK — Figma spec: 168×14, flex container centered
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .auth-switch {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 285.6px !important;
        height: 14px !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #022A32 !important;
        margin: 0 !important;
        /* margin-top: -17.8px !important; */
        padding: 0 !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .auth-left--login .auth-switch a {
        color: #F95259 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        white-space: nowrap !important;
    }

    /* ── Right panel — tablet ── */
    .auth-right {
        flex: 0 0 54% !important;
        max-width: 54% !important;
        position: relative !important;
        top: auto !important;
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        background-size: cover !important;
        /* background: transparent !important; */
    }

    /* Blob: aggressive scaling to fully cover panel top to bottom
                (hiding all transparent margins), and pushed to the right so
                the curved left edge is visible at ~10% into the panel. */
    .rp-bg {
        /* top: -12% !important;
        left: 15% !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        height: 135% !important;
        width: auto !important;
        max-width: none !important; */
        height: 100%;
    }

    /* Cards — tablet layout. +15k is HTML (eye + copy); stats/testimonial
                still swap to tablet-specific image crops. */
    .rp-badge {
        left: 38% !important;
        height: 185px !important;
        top: 8% !important;
        /* width: 58% !important; */
        max-width: 260px !important;
        padding: 19px 14px !important;
        gap: 10px !important;
        border-radius: 20px !important;
    }

    .rp-badge-icon {
        width: 40px;
        height: 40px;
    }

    .rp-badge-icon img {
        width: 40px;
        height: 40px;
    }

    .rp-badge-number {
        font-size: 18px;
    }

    .rp-badge-label {
        font-size: 11px;
        line-height: 1.3;
    }

    .rp-stats {
        left: 32.26% !important;
        /* top: 37.37% !important; */
        top: 38% !important;
        width: 67.74% !important;
        max-width: 220px !important;
        padding: 10px 10px 10px 12px !important;
        gap: 6px !important;
        border-radius: 12px !important;
        border: 0.5px solid #F95259 !important;
    }

    .rp-stats-icon {
        width: 18px;
        height: 18px;
    }

    .rp-stats-icon img {
        width: 17px;
        height: 17px;
    }

    .rp-stats-label {
        font-size: 13px;
        letter-spacing: 0.4px;
    }

    .rp-stats-number {
        font-size: 24px;
    }

    .rp-stats-trend {
        font-size: 10px;
    }

    .rp-stats-graph {
        max-width: 72px;
    }



    .rp-testimonial-quote {
        width: 27px;
        left: 14px;
        top: -11px;
    }

    .rp-testimonial-name {
        font-size: 15px;
    }

    .rp-testimonial-role {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .rp-testimonial-text {
        font-size: 11px;
        line-height: 1.5;
    }

    .rp-testimonial-dot {
        width: 6px;
        height: 6px;
    }

    .rp-testimonial-dots {
        gap: 6px;
    }

    /* Login page: shift testimonial slightly lower (form is shorter
                than signup so card can sit further down) */
    .auth-left--login+.auth-right .rp-testimonial {
        /* top: 65% !important; */
        top: 61% !important;
    }

    .auth-left--login+.auth-right .rp-bubble-3 {
        /* top: 94% !important; */
        top: 91% !important;
    }

    /* Decorative icon bubbles — positioned per Figma reference:
                bubble-1 left of +15k card, bubble-2 below stats card on right,
                bubble-3 below testimonial card */
    .rp-bubble-1 {
        /* left: 44% !important;
        top: 4% !important;
        width: 14.08% !important; */
        left: 25% !important;
        top: 1% !important;
        width: 11.08% !important;
    }


    .rp-bubble-2 {
        left: 82% !important;
        /* top: 55% !important; */
        /* top: 25% !important; */
        top: 54% !important;
        width: 11.08% !important;
    }

    .rp-bubble-3 {
        left: 54% !important;
        top: 91% !important;
        width: 10.63% !important;
    }

    /* ── Mobile/Tablet footer — shown below the form+panel row ── */
    .auth-mobile-footer {
        display: block !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        order: 3;
        background: #fff;
        text-align: center;
        padding: 48px 40px 32px;
        box-sizing: border-box;
    }

    .auth-mobile-footer .amf-logo img {
        width: 96px;
        height: auto;
        display: inline-block;
        margin-bottom: 14px;
    }

    .auth-mobile-footer .amf-tagline {
        font-family: var(--font-inter, 'Inter', sans-serif);
        font-size: 14px;
        color: #022A32;
        font-weight: 600;
        margin: 0 0 20px;
    }

    .auth-mobile-footer .amf-social {
        display: flex;
        justify-content: center;
        gap: 22px;
        margin-bottom: 10px;
    }

    .auth-mobile-footer .amf-social a {
        color: #6b8088;
        text-decoration: none;
        transition: color 0.2s;
    }

    .auth-mobile-footer .amf-social a:hover {
        color: var(--primary, #F95259);
    }

    .auth-mobile-footer .amf-section {
        margin-top: 32px;
        text-align: center;
    }

    .auth-mobile-footer .amf-heading {
        font-family: var(--font-inter, 'Inter', sans-serif);
        font-size: 15px;
        font-weight: 800;
        color: #022A32;
        margin: 0 0 16px;
    }

    .auth-mobile-footer .amf-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .auth-mobile-footer .amf-links li {
        margin-bottom: 12px;
    }

    .auth-mobile-footer .amf-links a {
        font-family: var(--font-inter, 'Inter', sans-serif);
        font-size: 13px;
        color: #6b8088;
        text-decoration: none;
    }

    .auth-mobile-footer .amf-links a:hover {
        color: var(--primary, #F95259);
    }

    .auth-mobile-footer .amf-contact-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-inter, 'Inter', sans-serif);
        font-size: 13px;
        color: #6b8088;
        margin: 0 0 10px;
        justify-content: center;
    }

    .auth-mobile-footer .amf-contact-row svg {
        color: var(--primary, #F95259);
        flex-shrink: 0;
    }

    .auth-mobile-footer .amf-badges {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .auth-mobile-footer .amf-badges a img {
        height: 40px;
        width: auto;
        display: block;
        border-radius: 6px;
    }

    .auth-mobile-footer .amf-copyright {
        margin-top: 36px;
        padding-top: 20px;
        border-top: 1px solid #eef1f4;
        font-family: var(--font-inter, 'Inter', sans-serif);
        font-size: 12px;
        color: #6b8088;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .amm-bottom-flex {
        display: flex;
        gap: 10px;
        position: relative;
        top: -30px;
        /* margin-top: 50px; */
    }

    .amm-bottom-img-flex {
        position: relative;
        top: 50px;
    }

    .auth-page {
        flex-direction: column;
        min-height: 100vh;
    }

    .auth-left {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        padding: 24px 20px 24px;
        position: static;
        order: 1;
        min-height: 0 !important;
        overflow-y: visible !important;
    }

    /* Right decorative panel hidden on mobile — replaced by pre-rendered image */
    .auth-right {
        display: none !important;
    }

    /* Mobile middle — HTML composition (login) or legacy img (other pages) */
    .auth-mobile-middle {
        display: block !important;
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 70px 0 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
        /* position: relative; */
    }

    /* 
    .auth-mobile-middle::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background-image: url('../imag_src/new_img/mobilebgimage.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        top: 0px;
        right: 0px;
        left: 0px;
        transform: scale(1.5);
    } */


    /* HTML mobile panel — matches design: 2 top cards + wide stats */
    .auth-mobile-middle.amm-panel {
        position: relative;
        /* overflow: hidden; */
        margin: 48px 0 0 !important;
        padding: 28px 16px 36px !important;
        height: 298px !important;
        /* background: #FF5A5F; */
        box-sizing: border-box;
    }

    .amm-bg {
        position: absolute;
        top: 0%;
        left: -31%;
        /* left: -43%; */
        /* top: 50%;
        left: 50%; */
        /* transform: translate(-42%, -50%); */
        /* height: 145%; */
        height: 108%;
        width: 151%;
        /* width: auto; */
        max-width: none;
        z-index: 0;
        pointer-events: none;
        user-select: none;
    }

    .amm-bubble {
        position: absolute;
        z-index: 2;
        width: 36px;
        height: 36px;
        object-fit: contain;
        pointer-events: none;
    }

    .amm-bubble-a {
        left: 2%;
        top: 27%;
        width: 32px;
        height: 32px;
    }

    .amm-bubble-b {
        right: 3%;
        top: 49%;
        width: 34px;
        height: 34px;
    }

    .amm-bubble-c {
        /* left: 6%;
        bottom: 8%; */
        width: 32px;
        height: 32px;
    }

    .amm-grid {
        position: relative;
        z-index: 1;
        /* display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "testimonial badge"
            "stats stats"; */
        gap: 12px;
        align-items: stretch;
        max-width: 420px;
        margin: 0 auto;
    }

    .amm-wayofflex {
        display: flex;
        gap: 14px;
        padding: 0px 35px;
        justify-content: center;
    }

    .amm-card {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
        box-sizing: border-box;
        width: 34vw;
    }

    /* Testimonial — top left */
    .amm-testimonial {
        /* width: 50%; */
        grid-area: testimonial;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0px 14px;
        gap: 10px;
        overflow: visible;
        top: -46px;
        border: 0.6px solid #F9525980;
        box-shadow: 6.24px 2.5px 25px 0px #00000029;
    }

    .amm-quote {
        position: absolute;
        top: -7px;
        left: 12px;
        width: 21px;
        height: auto;
        pointer-events: none;
    }

    .amm-testimonial-viewport {
        width: 70%;
        overflow: hidden;
    }

    .amm-testimonial-track {
        display: flex;
        width: 100%;
        transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .amm-testimonial-slide {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 0 2px;
    }

    .amm-name {
        font-family: var(--font-sora);
        font-size: 10px;
        font-weight: 700;
        color: var(--coral);
        line-height: 1.2;
        margin: 0 0 2px;
    }

    .amm-role {
        font-family: var(--font-inter);
        font-size: 8px;
        font-weight: 400;
        color: #4B6870;
        line-height: 1.3;
        margin: 0 0 8px;
    }

    .amm-text {
        font-family: var(--font-inter);
        font-size: 8px;
        font-weight: 400;
        color: #4B6870;
        line-height: 1.45;
        margin: 0;
        margin-top: 10px;
    }

    .amm-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        margin-top: 4px;
    }

    .amm-dot {
        width: 6px;
        height: 6px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #F7C8CB;
        cursor: pointer;
    }

    .amm-dot.is-active {
        background: var(--coral);
    }

    /* +15k — top right, vertical centered layout */
    .amm-badge {
        /* width: 50%; */
        grid-area: badge;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 13px 12px 16px;
        gap: 8px;
        position: relative;
        top: -46px;
        border: 0.6px solid #F9525980;
        box-shadow: 6.24px 2.5px 25px 0px #00000029;
    }

    .amm-badge-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--coral);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .amm-badge-icon img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        display: block;
    }

    .amm-badge-number {
        font-family: var(--font-sora);
        font-size: 18px;
        font-weight: 700;
        color: #022A32;
        line-height: 1;
    }

    .amm-badge-label {
        font-family: var(--font-inter);
        font-size: 10px;
        font-weight: 500;
        color: #4B6870;
        line-height: 1.35;
        max-width: 122px;
        line-height: 18px;
    }

    .amm-badge-label strong {
        font-weight: 700;
    }

    /* New Patients — bottom wide */
    .amm-stats {
        grid-area: stats;
        padding: 14px 40px 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 78%;
        max-width: none;
        justify-self: stretch;
    }

    .amm-stats-header {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .amm-stats-icon {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--coral);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .amm-stats-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        display: block;
    }

    .amm-stats-label {
        font-family: var(--font-inter);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--coral);
        line-height: 1;
    }

    .amm-stats-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .amm-stats-metrics {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .amm-stats-number {
        font-family: var(--font-sora);
        font-size: 18px;
        font-weight: 700;
        color: #0D1E2D;
        line-height: 1;
    }

    .amm-stats-trend {
        font-family: var(--font-inter);
        font-size: 11px;
        color: #64748B;
        white-space: nowrap;
    }

    .amm-stats-trend strong {
        color: var(--coral);
        font-weight: 700;
    }

    .amm-stats-graph {
        width: 42%;
        max-width: 100px;
        height: auto;
        display: block;
        flex-shrink: 0;
    }

    @media (max-width: 374px) {
        .auth-mobile-middle.amm-panel {
            padding: 22px 12px 28px !important;
        }

        .amm-grid {
            gap: 10px;
        }

        .amm-name {
            font-size: 12px;
        }

        .amm-text {
            font-size: 9px;
        }

        .amm-badge-number {
            font-size: 24px;
        }

        .amm-badge-label {
            font-size: 10px;
            max-width: 110px;
        }

        .amm-badge-icon {
            width: 44px;
            height: 44px;
        }

        .amm-badge-icon img {
            width: 22px;
            height: 22px;
        }

        .amm-stats-number {
            font-size: 24px;
        }
    }

    /* Mobile footer */
    .auth-mobile-footer {
        display: block;
        order: 3;
        background: #fff;
        text-align: center;
        padding: 36px 20px 32px;
        width: 100%;
    }

    .auth-mobile-footer .amf-logo img {
        width: 88px;
        height: auto;
        display: inline-block;
        margin-bottom: 14px;
    }

    .auth-mobile-footer .amf-tagline {
        font-family: var(--font-inter);
        font-size: 14px;
        color: #022A32;
        font-weight: 600;
        margin: 0 0 20px;
    }

    .auth-mobile-footer .amf-social {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 10px;
    }

    .auth-mobile-footer .amf-social a {
        color: #6b8088;
        text-decoration: none;
        transition: color 0.2s;
    }

    .auth-mobile-footer .amf-social a:hover {
        color: var(--primary);
    }

    /* Sections (Quick Links / Contact Us / Download The App) */
    .auth-mobile-footer .amf-section {
        margin-top: 28px;
        text-align: center;
    }

    .auth-mobile-footer .amf-heading {
        font-family: var(--font-inter);
        font-size: 15px;
        font-weight: 800;
        color: #022A32;
        margin: 0 0 14px;
    }

    .auth-mobile-footer .amf-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .auth-mobile-footer .amf-links li {
        margin-bottom: 10px;
    }

    .auth-mobile-footer .amf-links a {
        font-family: var(--font-inter);
        font-size: 13px;
        color: #6b8088;
        text-decoration: none;
    }

    .auth-mobile-footer .amf-links a:hover {
        color: var(--primary);
    }

    /* Contact rows */
    .auth-mobile-footer .amf-contact-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-inter);
        font-size: 13px;
        color: #6b8088;
        margin: 0 0 10px;
        justify-content: center;
    }

    .auth-mobile-footer .amf-contact-row svg {
        color: var(--primary);
        flex-shrink: 0;
    }

    /* App badges */
    .auth-mobile-footer .amf-badges {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .auth-mobile-footer .amf-badges a img {
        height: 38px;
        width: auto;
        display: block;
        border-radius: 6px;
    }

    /* Copyright */
    .auth-mobile-footer .amf-copyright {
        margin-top: 32px;
        padding-top: 18px;
        border-top: 1px solid #eef1f4;
        font-family: var(--font-inter);
        font-size: 12px;
        color: #6b8088;
        text-align: center;
    }

    .auth-back-link {
        display: inline-flex;
        margin-left: 0 !important;
        margin-bottom: 28px;
        font-size: 14px;
        font-weight: 700;
    }

    .auth-logo {
        width: 96px;
        margin-bottom: 22px;
    }

    .auth-title {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .auth-subtitle {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 22px;
        color: var(--dark-green, #022A32);
    }

    .auth-form-area {
        max-width: 100%;
    }

    .auth-left:not(.auth-left--login) .auth-form-area {
        /* width: 285.6px;
                 max-width: 285.6px; */
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    }

    /* Tighten form: reduce the form gap and drop per-field margin */
    .auth-form {
        gap: 18px !important;
    }

    .auth-field {
        margin-bottom: 0 !important;
    }

    .auth-field label {
        font-size: 13px;
    }

    .auth-field-icon-wrap input {
        height: 46px;
        font-size: 14px;
    }

    /* Phone row: proper Send OTP button sizing */
    .auth-phone-row {
        gap: 8px;
    }

    .btn-send-otp {
        padding: 0 18px !important;
        height: 46px;
        min-width: 96px;
        font-size: 13px;
        border-radius: 10px;
        white-space: nowrap;
    }

    .btn-verify-otp {
        padding: 0 18px !important;
        height: 46px;
        min-width: 92px;
        font-size: 13px;
    }

    .btn-auth-submit {
        width: 100%;
        font-size: 15px;
        margin-top: 6px;
    }

    .auth-switch {
        font-size: 13px;
        text-align: center;
        margin-top: 6px;
    }

    /* Phone signup (non-login) — match Figma frame 427319823 */
    .auth-left:not(.auth-left--login) .auth-back-link {
        font-size: 10.143px;
        font-weight: 600;
        line-height: 12.275px;
        margin-bottom: 34px;
        margin-left: calc((100% - 285.6px) / 2);
    }

    .auth-left:not(.auth-left--login) .auth-logo {
        width: 79.1px;
        margin-bottom: 24px;
        /* margin-left: calc((100% - 285.6px) / 2); */
        margin-left: 0px;
        margin-right: 0;
    }

    .auth-left:not(.auth-left--login) .auth-title {
        font-size: 22.4px !important;
        font-weight: 600;
        line-height: 28.224px;
        margin-bottom: 28px;
    }

    .auth-left:not(.auth-left--login) .auth-subtitle {
        font-size: 11.2px;
        font-weight: 600;
        line-height: 14.112px;
        margin-bottom: 20px;
    }

    .auth-left:not(.auth-left--login) .auth-form {
        gap: 15px !important;
    }

    .auth-left:not(.auth-left--login) .auth-field-icon-wrap input {
        /* height: 36.4px; */
        font-size: 11.2px;
        margin-left: 28px !important;
    }

    .auth-left:not(.auth-left--login) .auth-password-wrap input[type="password"] {
        height: 37.4px;
        font-size: 12.6px;
    }

    .auth-left:not(.auth-left--login) .btn-send-otp {
        height: 36.4px;
        font-size: 11.2px;
    }

    .auth-left:not(.auth-left--login) .auth-remember-label {
        font-size: 11.27px;
        font-weight: 400;
        line-height: 13.639px;
    }

    .auth-left:not(.auth-left--login) .btn-auth-submit {
        /* height: 36.4px; */
        font-size: 11.2px;
        margin-top: 0;
    }

    .auth-left:not(.auth-left--login) .auth-switch {
        font-size: 11.2px;
        line-height: 13.555px;
        margin-top: 21px;
    }

    /* ═══ Login-specific mobile overrides ═══ */
    .auth-left--login {
        padding: 20px 16px 28px !important;
        justify-content: flex-start !important;
    }

    .auth-left--login .auth-back-link {
        margin-bottom: 0px !important;
    }

    .auth-center-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        justify-content: flex-start !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .auth-left--login .auth-logo {
        width: 79.1px !important;
        margin-bottom: 24px;
    }

    .auth-left--login .auth-title {
        font-size: 22.4px !important;
        font-weight: 50 0;
        line-height: 28.224px;
        margin-bottom: 20px;
    }

    /* Restore full-box input style for login on mobile (matches reference) */
    .auth-left--login .auth-field input[type="text"],
    .auth-left--login .auth-field input[type="email"],
    .auth-left--login .auth-field input[type="password"] {
        border: 1px solid #E2EAF4 !important;
        border-bottom: 1px solid #E2EAF4 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        padding: 0 12px !important;
        height: 36.4px !important;
        font-size: 11.2px !important;
    }

    .auth-left--login .auth-field .auth-field-icon-wrap input[type="text"],
    .auth-left--login .auth-field .auth-field-icon-wrap input[type="email"],
    .auth-left--login .auth-field .auth-field-icon-wrap input[type="password"] {
        padding-left: 37px !important;
    }

    .auth-left--login .auth-password-wrap input[type="password"] {
        height: 37.4px !important;
        font-size: 12.6px !important;
    }

    .auth-left--login .auth-field-icon {
        /* left: 14px; */
        width: 14px;
        height: 14px;
    }

    .auth-left--login .auth-field-icon svg {
        width: 14px !important;
        height: 14px !important;
        display: block;
    }

    .auth-left--login .btn-toggle-pw {
        right: 12px;
    }

    .auth-left--login .auth-field input:focus {
        border-color: var(--primary) !important;
        box-shadow: none !important;
    }

    /* Forgot password link: allow wrapping under remember-me or inline */
    .auth-left--login .auth-checks-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .auth-left--login .btn-auth-submit {
        /* height: 36.4px; */
        font-size: 11.2px;
        margin-top: 0;
    }

    .auth-left--login .auth-switch {
        font-size: 11.2px;
        line-height: 13.555px;
        margin-top: 9px;
    }
}

@media (max-width: 480px) {
    .auth-left {
        padding: 20px 16px 28px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-checks-row {
        flex-direction: column;
    }

    .auth-logo {
        width: 84px;
    }

    .auth-phone-row {
        gap: 8px;
    }

    .btn-send-otp {
        padding: 0 12px;
        font-size: 12px;
    }

    .auth-left--login .auth-center-block {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .auth-left--login .auth-logo {
        width: 79.1px !important;
    }

    .auth-left--login .auth-title {
        font-size: 22.4px !important;
        line-height: 28.224px;
    }

    .auth-left--login .auth-checks-row {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .auth-left--login .auth-forgot-link {
        margin-left: auto;
        text-align: right;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
            MOBILE EXTRA-SMALL (320px - 374px) — Doctor Login Form (Figma exact specs)
            ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 374px) {
    .auth-left--login {
        padding: 36px 16px !important;
        justify-content: flex-start !important;
    }

    .auth-left--login .auth-center-block {
        /* min-width: 285.6px !important;
                 max-width: 285.6px !important; */
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 30px !important;
    }

    .auth-left--login .auth-logo {
        min-width: 79.1px !important;
        min-height: 30.51px !important;
        max-width: 79.1px !important;
        max-height: 30.51px !important;
    }

    .auth-left--login .auth-form-area {
        /* min-width: 285.6px !important;
                 max-width: 285.6px !important; */
    }

    .auth-left--login .auth-title {
        min-width: 232px !important;
        min-height: 28px !important;
        max-width: 232px !important;
        max-height: 28px !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) {
        /* min-width: 285.6px !important;
                 min-height: 36.4px !important;
                 max-width: 285.6px !important;
                 max-height: 36.4px !important; */
    }

    #doctor-login-form .auth-password-wrap {
        /* min-width: 285.6px !important;
                 min-height: 37.4px !important;
                 max-width: 285.6px !important;
                 max-height: 37.4px !important; */
    }

    .auth-left--login .btn-auth-submit {
        /* min-width: 285.6px !important;
                 min-height: 36.4px !important;
                 max-width: 285.6px !important;
                 max-height: 36.4px !important; */
    }

    .auth-left--login .auth-switch {
        min-width: 168px !important;
        max-width: 285.6px !important;
        min-height: 14px !important;
        max-height: 14px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
            MOBILE (≤767px) — Doctor Login Form (Figma Frame 427319912)
            ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 375px) and (max-width: 767px) {

    /* ── Login page: left panel layout ── */
    .auth-left--login {
        /* padding: 36px 40px !important; */
        justify-content: flex-start !important;
    }

    /* Login card: Figma 285.6×312.21 centered */
    .auth-left--login .auth-center-block {
        /* min-width: 285.6px !important;
                 max-width: 285.6px !important; */
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 50px !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    /* Logo — Figma spec: 79.1×30.51 */
    .auth-left--login .auth-logo {
        min-width: 79.1px !important;
        min-height: 30.51px !important;
        max-width: 79.1px !important;
        max-height: 30.51px !important;
        margin-bottom: 24.5px !important;
    }

    /* Form wrapper — Figma spec: gap 28px */
    .auth-left--login .auth-form-area {
        /* min-width: 285.6px !important;
                 max-width: 285.6px !important; */
        margin-left: 0 !important;
    }

    /* Main title — Figma spec: 232×28, font 22.4px */
    .auth-left--login .auth-title {
        min-width: 232px !important;
        min-height: 28px !important;
        max-width: 232px !important;
        max-height: 28px !important;
        font-family: 'Sora' !important;
        font-weight: 600 !important;
        font-size: 22.4px !important;
        line-height: 28px !important;
        color: #022A32 !important;
        margin-bottom: 28px !important;
    }

    /* Form gap — Figma spec: 14px between fields */
    .auth-left--login .auth-form {
        gap: 14px !important;
    }

    /* ─────────────────────────────────────────────────────────────
                EMAIL FIELD — Figma Frame spec: 285.6×36.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */
    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        /* min-width: 285.6px !important; */
        /* min-height: 36.4px !important; */
        /* max-width: 285.6px !important; */
        /* max-height: 36.4px !important; */
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    #doctor-login-form .auth-field-icon-wrap:first-of-type {
        height: 40px !important
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) .auth-field-icon {
        min-width: 14px !important;
        min-height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 11px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) input[type="email"] {
        flex: 1 !important;
        min-height: 14px !important;
        max-height: 14px !important;
        padding: 0px !important;
        margin: 0 !important;
        margin-left: 28px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #4B6870 !important;
        min-width: 0 !important;
        box-shadow: none !important;
    }

    #doctor-login-form .auth-field-icon-wrap:not(.auth-password-wrap) input[type="email"]::placeholder {
        color: #4B6870 !important;
    }

    /* ─────────────────────────────────────────────────────────────
                PASSWORD FIELD — Figma Frame spec: 285.6×37.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */
    #doctor-login-form .auth-password-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        /* min-width: 285.6px !important; */
        min-height: 37.4px !important;
        /* max-width: 285.6px !important; */
        max-height: 37.4px !important;
        padding: 11.2px 8.4px !important;
        gap: 8.4px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 0px 0.7px rgba(0, 0, 0, 0.25) !important;
    }

    #doctor-login-form .auth-password-wrap .auth-field-icon {
        min-width: 14px !important;
        min-height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: 14px !important;
        margin: 0 !important;
        margin-left: 11px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #doctor-login-form .auth-password-wrap input[type="password"] {
        flex: 1 !important;
        min-height: 15px !important;
        max-height: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-left: 27px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 12.6px !important;
        line-height: 15px !important;
        color: #4B6870 !important;
        min-width: 0 !important;
        box-shadow: none !important;
        padding-right: 0 !important;
    }

    #doctor-login-form .auth-password-wrap input[type="password"]::placeholder {
        color: #4B6870 !important;
    }

    #doctor-login-form .auth-password-wrap .btn-toggle-pw {
        display: none !important;
    }

    /* ─────────────────────────────────────────────────────────────
                REMEMBER ME CHECKBOX — Figma spec: 99.01×14, gap 10.47px
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .auth-checks-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        flex-wrap: wrap !important;
    }

    .auth-left--login .auth-checkbox-label {
        width: 99.01px !important;
        height: 14px !important;
        gap: 10.47px !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.27px !important;
        line-height: 14px !important;
        color: #F95259 !important;
        margin: 0 !important;
    }

    .auth-left--login .auth-checkbox-label input[type="checkbox"] {
        width: 11.27px !important;
        height: 11.27px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        accent-color: #F95259 !important;
    }

    .auth-left--login .auth-forgot-link {
        display: none !important;
    }

    /* ─────────────────────────────────────────────────────────────
                SUBMIT BUTTON — Figma spec: 285.6×36.4, padding 11.2px 8.4px
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .btn-auth-submit {
        /* min-width: 285.6px !important; */
        min-height: 39.4px !important;
        /* max-width: 285.6px !important; */
        max-height: 39.4px !important;
        padding: 15px 8.4px !important;
        gap: 8.4px !important;
        background: linear-gradient(90deg, #FF787E 0%, #F95259 100%) !important;
        border-radius: 11.9px !important;
        font-family: 'Sora' !important;
        font-weight: 700 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #FFFFFF !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border: none !important;
        cursor: pointer !important;
        transition: opacity 0.2s !important;
    }

    .auth-left--login .btn-auth-submit:hover {
        opacity: 0.92 !important;
    }

    /* ─────────────────────────────────────────────────────────────
                SIGN UP LINK — Figma spec: 168×14, flex container on one line
             ───────────────────────────────────────────────────────────────── */
    .auth-left--login .auth-switch {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        /* max-width: 285.6px !important; */
        height: 14px !important;
        font-family: 'Inter' !important;
        font-weight: 400 !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        color: #022A32 !important;
        margin-top: 11px !important;
        /* margin-top: -21.8px !important; */
        padding: 0 !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .auth-left--login .auth-switch a {
        color: #F95259 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        font-size: 11.2px !important;
        line-height: 14px !important;
        white-space: nowrap !important;
    }
}
@media (min-width:1250px) and (max-width:1330px) {

.auth-scrollsection {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
}

@media (min-width:1440px) and (max-width:2560px) {

.auth-scrollsection {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
}

@media (min-width:1024px) and (max-width:1200px) {
    .auth-scrollsection {
        height: 280px;
        overflow-y: auto;
        /* Vertical scroll */
        overflow-x: hidden;
        /* Horizontal scroll hide */

        /* Firefox */
        scrollbar-width: none;

        /* IE & Edge (legacy) */
        -ms-overflow-style: none;
    }
}


@media (min-width:1920px) and (max-width:2560px) {
    .auth-scrollsection {
        height: 280px;
        overflow-y: auto;
        /* Vertical scroll */
        overflow-x: hidden;
        /* Horizontal scroll hide */

        /* Firefox */
        scrollbar-width: none;

        /* IE & Edge (legacy) */
        -ms-overflow-style: none;
    }
}


.tab-over-all {
    display: flex;
    width: 100%;
    min-height: 100dvh;
}

.tab-left-auth {
    width: 45%;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.tab-bodysection {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15px 0 33px;
    margin-top: -20px !important;
}

.tab-right-auth {
    width: 55%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.tab-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.tab-inline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}