/* =====================================================
   BRACKTIX AUTH — Premium UI
   ===================================================== */

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

:root {
    --primary-color: #080818;
    --secondary-color: #0e0e24;
    --accent-color: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-glow: rgba(124, 58, 237, 0.5);
    --accent-color-alt: #ec4899;
    --accent-alt-glow: rgba(236, 72, 153, 0.4);
    --accent-light: #a78bfa;
    --cyan-accent: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --text-color: #f1f5f9;
    --text-color-muted: rgba(148, 163, 184, 0.9);
    --text-color-subtle: rgba(100, 116, 139, 0.9);
    --card-bg: rgba(15, 15, 32, 0.92);
    --card-border: rgba(124, 58, 237, 0.25);
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-bg-focus: rgba(124, 58, 237, 0.08);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-border-focus: rgba(124, 58, 237, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --error-color: #f43f5e;
    --success-color: #10b981;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   BASE LAYOUT
   ===================================================== */

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

body.auth-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--primary-color);
}

.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(2, 5, 12, 1) 50%, rgba(10, 10, 18, 1) 100%);
    color: var(--text-color);
    overflow: hidden;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   GRID / PARTICLE CANVAS BACKGROUND
   ===================================================== */

#auth-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Subtle grid overlay */
.auth-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    pointer-events: none;
}

/* =====================================================
   BRAND LOGO
   ===================================================== */

.auth-brand {
    position: fixed;
    top: 1.75rem;
    left: 2rem;
    z-index: 20;
    animation: fadeSlideDown 0.6s var(--transition-slow) both;
}

.brand-logo {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 0 12px var(--accent-glow));
    transition: transform var(--transition-base), filter var(--transition-base);
}

.brand-logo:hover {
    transform: scale(1.06) translateY(-2px);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

/* =====================================================
   CONTAINER
   ===================================================== */

.auth-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* =====================================================
   HERO PANEL (LEFT)
   ===================================================== */

.auth-hero {
    flex: 1.1;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.3) contrast(1.05);
    transform: scale(1.04);
    transition: transform 8s ease;
}

.auth-hero:hover .hero-image img {
    transform: scale(1.0);
}

/* Multi-layer overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 6, 20, 0.5) 0%, transparent 30%, rgba(6, 6, 20, 0.85) 85%),
        linear-gradient(90deg, rgba(6, 6, 20, 0.6) 0%, transparent 60%);
    z-index: 1;
}

/* Scanline effect */
.auth-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.06) 3px,
        rgba(0, 0, 0, 0.06) 4px
    );
    z-index: 2;
    pointer-events: none;
}

/* Corner accent lines */
.auth-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--cyan-accent), transparent);
    z-index: 5;
    opacity: 0.8;
}

.hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 3.5rem;
    color: white;
    z-index: 4;
    animation: fadeSlideUp 0.8s 0.2s both;
}

/* Top-right decorative badge */
.hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeSlideDown 0.8s 0.4s both;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.45rem 1rem 0.45rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-stat i {
    font-size: 0.85rem;
    color: var(--accent-light);
}

.hero-stat-live {
    border-color: rgba(16, 185, 129, 0.3);
}

.hero-stat-live i {
    color: var(--success-color);
    animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero line separator */
.hero-line {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-line-bar {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--cyan-accent));
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan-accent);
    text-shadow: 0 0 12px var(--cyan-glow);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-color-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 78%;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* Floating icons on hero */
.floating-icon {
    position: absolute;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    font-size: 1.75rem;
    z-index: 3;
}

.floating-icon-1 {
    top: 25%;
    left: 8%;
    color: var(--accent-light);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    animation-name: float1;
    animation-duration: 7s;
}

.floating-icon-2 {
    top: 42%;
    right: 10%;
    color: var(--accent-color-alt);
    filter: drop-shadow(0 0 10px var(--accent-alt-glow));
    animation-name: float2;
    animation-duration: 8s;
    animation-delay: 1s;
}

.floating-icon-3 {
    bottom: 35%;
    left: 20%;
    color: var(--cyan-accent);
    filter: drop-shadow(0 0 10px var(--cyan-glow));
    animation-name: float3;
    animation-duration: 6s;
    animation-delay: 2s;
}

.floating-icon-4 {
    bottom: 22%;
    right: 18%;
    color: var(--accent-light);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    animation-name: float4;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-18px) rotate(12deg); opacity: 1; }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(18px) rotate(-12deg); opacity: 1; }
}
@keyframes float3 {
    0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateX(16px) rotate(10deg); opacity: 1; }
}
@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    50% { transform: translate(-10px, -14px) rotate(8deg); opacity: 1; }
}

/* =====================================================
   FORM PANEL (RIGHT)
   ===================================================== */

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 5;
    overflow-y: auto;
    max-height: 100vh;
}

/* Animated card entry */
@keyframes cardEntry {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 2.75rem 2.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-radius: var(--radius-xl);
    box-shadow:
        var(--shadow-xl),
        var(--shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    border: 1px solid var(--card-border);
    overflow: hidden;
    margin: 0 auto;
    animation: cardEntry 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Top gradient bar on card */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--cyan-accent), var(--accent-color-alt));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    opacity: 0.9;
}

/* Subtle inner glow */
.auth-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 100%);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

/* =====================================================
   AUTH HEADER
   ===================================================== */

.auth-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #e2d9f3 0%, var(--accent-light) 50%, var(--accent-color-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.auth-subtitle {
    color: var(--text-color-muted);
    margin-bottom: 0;
    font-size: 0.975rem;
    line-height: 1.5;
}

.text-accent {
    color: var(--accent-light);
    font-weight: 600;
    -webkit-text-fill-color: var(--accent-light);
}

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

.auth-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.825rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

/* Input wrapper */
.input-group {
    border: 1.5px solid var(--input-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--input-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-base);
}

.input-group:focus-within {
    border-color: var(--input-border-focus);
    background: var(--input-bg-focus);
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.15),
        0 4px 16px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--text-color-subtle);
    padding-left: 1rem;
    padding-right: 0.25rem;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.input-group:focus-within .input-group-text {
    color: var(--accent-light);
}

.form-control {
    border: none;
    padding: 0.8rem 0.875rem;
    background: transparent;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 400;
    transition: none;
}

.form-control:focus {
    box-shadow: none;
    background: transparent;
    color: var(--text-color);
    outline: none;
}

.form-control::placeholder {
    color: rgba(100, 116, 139, 0.7);
    font-weight: 400;
}

/* =====================================================
   CHECKBOXES & LINKS
   ===================================================== */

.form-check {
    display: flex;
    align-items: center;
    margin-top: 0;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
    margin-right: 0.5rem;
    background-color: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

.form-check-label {
    color: var(--text-color-muted);
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
}

.form-check-label a {
    text-decoration: none;
    color: var(--accent-light);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.form-check-label a:hover {
    color: var(--accent-color-alt);
    text-decoration: underline;
}

.forgot-password {
    color: var(--accent-light);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.forgot-password:hover {
    color: var(--accent-color-alt);
}

/* =====================================================
   SUBMIT BUTTON
   ===================================================== */

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #9333ea 50%, var(--accent-color-alt) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(124, 58, 237, 0.4),
        0 1px 0 rgba(255,255,255,0.1) inset;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        background-position 0.5s ease;
}

/* Shimmer sweep */
.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.22) 50%,
        transparent 100%
    );
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn-accent:hover::before {
    left: 160%;
}

.btn-accent:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(124, 58, 237, 0.55),
        0 2px 8px rgba(236, 72, 153, 0.25),
        0 1px 0 rgba(255,255,255,0.1) inset;
    color: white;
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35);
}

/* Outline accent */
.btn-outline-accent {
    background: transparent;
    border: 1.5px solid rgba(124, 58, 237, 0.5);
    border-radius: var(--radius-sm);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-outline-accent:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-light);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* =====================================================
   PASSWORD TOGGLE
   ===================================================== */

.toggle-password, .toggle-confirm-password {
    background: transparent;
    border: none;
    color: var(--text-color-subtle);
    padding: 0 0.875rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
}

.toggle-password:hover, .toggle-confirm-password:hover {
    color: var(--accent-light);
}

/* =====================================================
   VALIDATION
   ===================================================== */

.invalid-feedback {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.input-group.is-invalid-group {
    border-color: var(--error-color) !important;
}

/* =====================================================
   DIVIDER
   ===================================================== */

.divider {
    display: flex;
    align-items: center;
    margin: 1.75rem 0;
    color: var(--text-color-subtle);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color));
}

.divider::after {
    background: linear-gradient(90deg, var(--border-color), transparent);
}

.divider span {
    padding: 0 1rem;
}

/* =====================================================
   SOCIAL LOGIN
   ===================================================== */

.social-login {
    display: flex;
    justify-content: center;
    gap: 0.875rem;
}

.btn-social {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    color: var(--text-color-muted);
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-google:hover {
    color: #ea4335;
    border-color: rgba(234,67,53,0.5);
    box-shadow: 0 8px 20px rgba(234,67,53,0.25);
}

/* =====================================================
   AUTH FOOTER
   ===================================================== */

.auth-footer {
    position: relative;
    z-index: 1;
}

.auth-footer .text-center p {
    color: var(--text-color-muted);
    font-size: 0.875rem;
}

.auth-footer .text-accent {
    font-weight: 700;
    color: var(--accent-light) !important;
    -webkit-text-fill-color: var(--accent-light) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-footer .text-accent:hover {
    color: var(--accent-color-alt) !important;
    -webkit-text-fill-color: var(--accent-color-alt) !important;
}

/* =====================================================
   DEMO ALERT
   ===================================================== */

.demo-alert {
    border-radius: var(--radius-md);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.demo-alert .alert-heading,
.demo-alert p {
    color: #c4b5fd;
}

/* =====================================================
   PASSWORD STRENGTH
   ===================================================== */

.password-strength {
    height: 4px;
    margin-top: 0.5rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 0.35s ease, background-color 0.35s ease;
}

.strength-weak { background: #f43f5e; width: 33%; }
.strength-medium { background: #f59e0b; width: 66%; }
.strength-strong { background: #10b981; width: 100%; }

/* =====================================================
   BACK LINK
   ===================================================== */

.back-link {
    color: var(--accent-light);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.back-link:hover {
    color: var(--accent-color-alt);
    transform: translateX(-3px);
}

/* =====================================================
   ERROR TOAST
   ===================================================== */

.auth-modal {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 15, 30, 0.95);
    border-left: 3px solid var(--accent-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transform: translateX(120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    color: var(--text-color);
    max-width: 340px;
}

.auth-modal.show {
    transform: translateX(0);
}

/* =====================================================
   SCROLLBAR
   ===================================================== */

.auth-content::-webkit-scrollbar { width: 5px; }
.auth-content::-webkit-scrollbar-track { background: transparent; }
.auth-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-color-alt));
    border-radius: 3px;
}

/* =====================================================
   ENTRY ANIMATIONS
   ===================================================== */

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-header  { animation: fadeSlideUp 0.6s 0.35s both; }
.auth-form    { animation: fadeSlideUp 0.6s 0.5s both; }
.auth-footer  { animation: fadeSlideUp 0.6s 0.65s both; }

/* Stagger form groups */
.auth-form .form-group:nth-child(1) { animation: fadeSlideUp 0.5s 0.55s both; }
.auth-form .form-group:nth-child(2) { animation: fadeSlideUp 0.5s 0.65s both; }
.auth-form .form-group:nth-child(3) { animation: fadeSlideUp 0.5s 0.75s both; }
.auth-form .form-group:nth-child(4) { animation: fadeSlideUp 0.5s 0.82s both; }
.auth-form > button                  { animation: fadeSlideUp 0.5s 0.9s both; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1199.98px) {
    .auth-hero { display: none; }
    .auth-content { padding: 1.5rem; }
}

@media (max-width: 767.98px) {
    .auth-brand {
        position: relative !important;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        padding: 1.25rem 0 0;
    }

    .auth-content {
        display: block;
        padding: 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
    }

    .auth-title { font-size: 1.65rem; }
}

/* =====================================================
   LEGACY COMPAT — grid row helpers
   ===================================================== */

.row.g-3 { margin-left: -0.5rem; margin-right: -0.5rem; }
.row.g-3 > div { padding-left: 0.5rem; padding-right: 0.5rem; }
@media (max-width: 767.98px) {
    .row.g-3 > div { width: 100%; }
}

