/* ============================================================
   FunMate Auth — auth.css
   Modern SaaS | Glassmorphism | Minimal | Premium
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #3B82F6;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --text: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E5E7EB;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;

    --gradient-start: #1E40AF;
    --gradient-end: #3B82F6;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .14), 0 8px 24px rgba(0, 0, 0, .08);
    --shadow-blue: 0 4px 20px rgba(37, 99, 235, .30);

    --transition: .4s cubic-bezier(.4, 0, .2, 1);
}

/* ── Base Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* ============================================================
   AUTH WRAPPER — full viewport, two-panel layout
   ============================================================ */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ── Background decorators ── */
.auth-wrapper::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, .08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.auth-wrapper::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, .06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   PANELS
   ============================================================ */

/* ── Blue Panel (Feature Panel) ── */
.auth-blue-panel {
    flex: 0 0 45%;
    background: linear-gradient(145deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
    overflow: hidden;
    z-index: 1;
}

/* Inner decorative circles */
.auth-blue-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.auth-blue-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

/* ── White Form Panel ── */
.auth-form-panel {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

/* ============================================================
   BLUE PANEL CONTENT
   ============================================================ */

/* Logo badge */
.bp-logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 2.5rem;
}

.bp-logo-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: 1.3rem;
}

.bp-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
}

/* Headline */
.bp-headline {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: .75rem;
}

.bp-headline span {
    color: rgba(255, 255, 255, .7);
}

.bp-sub {
    font-size: .95rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.6;
    max-width: 340px;
    margin-bottom: 2.5rem;
}

/* ── Event Cards ── */
.bp-cards {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 2.5rem;
}

.bp-card {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-md);
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    transition: background var(--transition), transform var(--transition);
}

.bp-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateX(4px);
}

.bp-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bp-card-info {
    flex: 1;
}

.bp-card-title {
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .15rem;
}

.bp-card-meta {
    font-size: .75rem;
    color: rgba(255, 255, 255, .65);
}

.bp-card-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    white-space: nowrap;
}

/* ── Stats Row ── */
.bp-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.bp-stat {
    text-align: center;
    flex: 1;
}

.bp-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
}

.bp-stat-label {
    font-size: .72rem;
    color: rgba(255, 255, 255, .65);
    margin-top: .1rem;
}

/* ── Register Blue Panel CTA ── */
.bp-cta-section {
    text-align: center;
}

.bp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    padding: .4rem 1rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(6px);
}

.bp-cta-headline {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: .75rem;
    letter-spacing: -.5px;
}

.bp-cta-sub {
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto 2rem;
}

/* ── Feature bullets ── */
.bp-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.bp-features li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255, 255, 255, .85);
    font-size: .875rem;
}

.bp-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── CTA Button on Blue Panel ── */
.btn-panel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--primary);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.btn-panel-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .20);
    color: var(--primary-hover);
}

.btn-panel-cta:active {
    transform: scale(.98);
}

/* ============================================================
   FORM CARD
   ============================================================ */
.auth-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 440px;
    position: relative;
}

/* ── Card Logo ── */
.auth-card-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.75rem;
}

.auth-card-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-blue);
}

.auth-card-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.5px;
}

/* ── Card Headline ── */
.auth-card-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.5px;
    margin-bottom: .35rem;
}

.auth-card-sub {
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

/* ── Label ── */
.auth-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .4rem;
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* ── Input Wrapper ── */
.auth-input-wrap {
    position: relative;
    margin-bottom: 1.1rem;
}

.auth-input-wrap .input-icon {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: color .2s ease;
    z-index: 1;
}

.auth-input-wrap .input-icon-right {
    position: absolute;
    right: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    z-index: 1;
    transition: color .2s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.auth-input-wrap .input-icon-right:hover {
    color: var(--primary);
}

.auth-input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.7rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #FAFBFD;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    appearance: none;
}

.auth-input.no-icon {
    padding-left: 1rem;
}

.auth-input.has-right-icon {
    padding-right: 2.7rem;
}

.auth-input::placeholder {
    color: var(--text-light);
    font-size: .875rem;
}

.auth-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.auth-input:focus+.input-icon,
.auth-input-wrap:focus-within .input-icon {
    color: var(--primary);
}

/* ── Section divider ── */
.auth-section-title {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.auth-section-title::before,
.auth-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Checkbox Row ── */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
}

.auth-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.auth-check-label {
    font-size: .845rem;
    color: var(--text-muted);
    font-weight: 500;
}

.auth-link {
    font-size: .845rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-auth-primary {
    width: 100%;
    padding: .9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: .975rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: var(--shadow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    letter-spacing: .2px;
}

.btn-auth-primary:hover:not(:disabled) {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(37, 99, 235, .40);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-auth-primary:active:not(:disabled) {
    transform: scale(.98);
}

.btn-auth-primary:disabled {
    opacity: .72;
    cursor: not-allowed;
    transform: none;
}

/* ── Spinner ── */
.auth-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .65s linear infinite;
    display: none;
    flex-shrink: 0;
}

.btn-auth-primary.loading {
    opacity: .88;
    cursor: not-allowed;
    pointer-events: none;
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-auth-primary.loading .auth-spinner {
    display: inline-block;
}

.btn-auth-primary.loading .btn-text {
    opacity: .75;
}

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

/* ── Footer Link ── */
.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: .875rem;
    color: var(--text-muted);
}

.auth-footer a,
.auth-footer button.link-btn {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    transition: color .2s ease;
}

.auth-footer a:hover,
.auth-footer button.link-btn:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ============================================================
   ALERTS / VALIDATION
   ============================================================ */
.auth-alert {
    border-radius: var(--radius-md);
    padding: .85rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    animation: fadeInDown .3s ease;
}

.auth-alert.success {
    background: rgba(16, 185, 129, .08);
    border: 1px solid rgba(16, 185, 129, .25);
    color: #065F46;
}

.auth-alert.error {
    background: rgba(239, 68, 68, .07);
    border: 1px solid rgba(239, 68, 68, .22);
    color: #991B1B;
}

.auth-alert-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ASP.NET Validation Summary */
.validation-summary-errors {
    border-radius: var(--radius-md);
    padding: .85rem 1.1rem;
    margin-bottom: 1.25rem;
    background: rgba(239, 68, 68, .07);
    border: 1px solid rgba(239, 68, 68, .22);
    color: #991B1B;
    font-size: .84rem;
}

/* ── EKLENEN KISIM: Eğer validation summary veya içindeki liste boşsa kutuyu tamamen gizle ── */
.validation-summary-valid {
    display: none !important;
}
.validation-summary-errors:empty {
    display: none !important;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

.validation-summary-errors li {
    margin-bottom: .2rem;
}

/* Field Validation */
span.field-validation-error {
    display: block;
    font-size: .775rem;
    color: var(--danger);
    margin-top: .3rem;
    font-weight: 500;
    animation: fadeInDown .25s ease;
}

.auth-input.input-validation-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
}

/* ============================================================
   LOGO UPLOAD
   ============================================================ */
.logo-upload-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.logo-preview-box {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
    transition: border-color .2s ease;
}

.logo-drop-area {
    flex: 1;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
    cursor: pointer;
}

.logo-drop-area:hover,
.logo-drop-area.dragover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, .04);
}

.logo-drop-area p {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.logo-drop-area small {
    font-size: .73rem;
    color: var(--text-light);
}

.logo-drop-area input[type="file"] {
    width: 100%;
    font-size: .8rem;
    margin-top: .4rem;
}

/* ============================================================
   REGISTER SCROLLABLE CARD
   ============================================================ */
.auth-card.register-card {
    max-width: 500px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.auth-card.register-card::-webkit-scrollbar {
    width: 5px;
}

.auth-card.register-card::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

/* ============================================================
   PAGE ANIMATIONS
   ============================================================ */

/* ── Entrance ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

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

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

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

/* ── Exit ── */
@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-40px);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* ── Panel animations on load ── */
/* Login: blue=left, form=right */
.page-login .auth-blue-panel {
    animation: fadeInLeft .55s cubic-bezier(.4, 0, .2, 1) both;
}

.page-login .auth-form-panel {
    animation: fadeInRight .55s cubic-bezier(.4, 0, .2, 1) both;
}

/* Register: form=left, blue=right */
.page-register .auth-form-panel {
    animation: fadeInLeft .55s cubic-bezier(.4, 0, .2, 1) both;
}

.page-register .auth-blue-panel {
    animation: fadeInRight .55s cubic-bezier(.4, 0, .2, 1) both;
}

/* ── Exit animations (JS-triggered classes) ── */
.exit-to-register .auth-blue-panel {
    animation: fadeOutLeft .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

.exit-to-register .auth-form-panel {
    animation: fadeOutRight .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

.exit-to-login .auth-form-panel {
    animation: fadeOutLeft .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

.exit-to-login .auth-blue-panel {
    animation: fadeOutRight .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: var(--text-light);
    font-size: .8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .auth-blue-panel {
        flex: 0 0 42%;
        padding: 2.5rem 2rem;
    }

    .auth-form-panel {
        flex: 0 0 58%;
    }

    .auth-card {
        padding: 2.25rem 2rem;
    }

    .bp-headline {
        font-size: 1.65rem;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    html,
    body {
        overflow: auto;
    }

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

    /* Blue panel on top */
    .auth-blue-panel {
        flex: 0 0 auto;
        padding: 2rem 1.5rem;
        order: 1;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    /* Form panel below */
    .auth-form-panel {
        flex: 1 1 auto;
        order: 2;
        padding: 1.5rem 1rem 2rem;
        align-items: flex-start;
    }

    /* Register: form first (top), blue second (bottom) */
    .page-register .auth-form-panel {
        order: 1;
    }

    .page-register .auth-blue-panel {
        order: 2;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    /* Compact blue panel */
    .bp-cards {
        display: none;
    }

    .bp-stats {
        gap: 1rem;
    }

    .bp-stat-value {
        font-size: 1.25rem;
    }

    .bp-headline {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }

    .bp-sub {
        font-size: .85rem;
        margin-bottom: 1.25rem;
    }

    .auth-card {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    /* Animations adapt to vertical axis on mobile */
    .page-login .auth-blue-panel {
        animation: fadeInDown .5s cubic-bezier(.4, 0, .2, 1) both;
    }

    .page-login .auth-form-panel {
        animation: fadeInUp .5s cubic-bezier(.4, 0, .2, 1) .1s both;
    }

    .page-register .auth-form-panel {
        animation: fadeInDown .5s cubic-bezier(.4, 0, .2, 1) both;
    }

    .page-register .auth-blue-panel {
        animation: fadeInUp .5s cubic-bezier(.4, 0, .2, 1) .1s both;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .auth-blue-panel {
        padding: 1.5rem 1.25rem;
    }

    .auth-form-panel {
        padding: 1rem .75rem 1.5rem;
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-lg);
        max-width: 100%;
    }

    .auth-card.register-card {
        max-width: 100%;
    }

    .auth-card-title {
        font-size: 1.3rem;
    }

    .auth-input {
        padding: .7rem .875rem .7rem 2.5rem;
        font-size: .875rem;
    }

    .auth-input.no-icon {
        padding-left: .875rem;
    }

    .btn-auth-primary {
        padding: .825rem;
        font-size: .9rem;
    }

    .bp-stats {
        gap: .75rem;
    }

    .bp-stat-value {
        font-size: 1.1rem;
    }

    .bp-logo {
        margin-bottom: 1.25rem;
    }

    .bp-features {
        display: none;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}