/* ==========================================================================
   SEAMS Auth Pages — "Horizon" Theme
   Light mode (default) + Dark mode toggle
   ========================================================================== */

/* === Shared (non-theme) variables === */
:root {
    --accent: #6d1b21;
    --accent-hover: #862229;
    --accent-bright: #9c2a32;
    --text-on-accent: #ffffff;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --fast: 150ms ease;
    --normal: 250ms ease;
    --slow: 400ms ease;

    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === LIGHT THEME (default) === */
:root {
    --bg-deep: #f0f2f5;
    --bg-primary: #f5f6f8;
    --bg-secondary: #eaedf1;
    --bg-card: #ffffff;
    --bg-input: #f8f9fb;

    --border-subtle: rgba(0, 0, 0, 0.07);
    --border-input: rgba(0, 0, 0, 0.13);
    --border-input-hover: rgba(0, 0, 0, 0.24);

    --accent-soft: rgba(155, 27, 48, 0.08);
    --accent-glow: rgba(155, 27, 48, 0.12);
    --gold: #96792f;
    --gold-soft: rgba(150, 121, 47, 0.08);

    --text-primary: #1a1f2e;
    --text-secondary: #5c6578;
    --text-muted: #9ca3b0;

    --success: #16a34a;
    --success-bg: rgba(22, 163, 74, 0.08);
    --error: #dc2626;
    --error-bg: rgba(220, 38, 38, 0.06);
    --info: #2563eb;
    --info-bg: rgba(37, 99, 235, 0.06);

    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-input: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-btn: 0 2px 8px rgba(155, 27, 48, 0.2);
    --shadow-btn-hover: 0 4px 16px rgba(155, 27, 48, 0.35);

    /* Component-level tokens */
    --nav-bg: rgba(255, 255, 255, 0.82);
    --nav-link-hover-bg: rgba(0, 0, 0, 0.04);
    --mobile-nav-bg: rgba(255, 255, 255, 0.96);
    --bg-gradient-accent: rgba(155, 27, 48, 0.025);
    --bg-gradient-blue: rgba(20, 40, 80, 0.025);
    --grid-line-color: rgba(0, 0, 0, 0.028);
    --globe-opacity: 0.06;
    --globe-blend: multiply;
    --logo-filter: none;
    --logo-brand-filter: none;
    --logo-tagline-filter: grayscale(0.2) opacity(0.5);
    --hero-glow: rgba(155, 27, 48, 0.025);
    --input-focus-bg: #ffffff;
    --service-card-bg: rgba(255, 255, 255, 0.7);
    --service-card-hover-bg: #ffffff;
    --service-card-hover-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    --services-section-bg: linear-gradient(180deg, transparent 0%, rgba(240, 242, 245, 0.5) 100%);
    --contact-section-bg: linear-gradient(180deg, transparent 0%, rgba(240, 242, 245, 0.6) 100%);
    --footer-bg: rgba(235, 237, 241, 0.7);
    --social-bg: rgba(0, 0, 0, 0.03);
    --social-hover-bg: rgba(0, 0, 0, 0.06);
    --ghost-btn-hover-bg: rgba(0, 0, 0, 0.03);
    --outline-btn-border: rgba(0, 0, 0, 0.15);
    --outline-btn-hover-border: rgba(0, 0, 0, 0.3);
    --outline-btn-hover-bg: rgba(0, 0, 0, 0.03);
}

/* === DARK THEME === */
[data-theme="dark"] {
    --bg-deep: #080e19;
    --bg-primary: #0c1220;
    --bg-secondary: #131d2e;
    --bg-card: rgba(16, 24, 40, 0.88);
    --bg-input: rgba(8, 14, 25, 0.6);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-input: rgba(255, 255, 255, 0.1);
    --border-input-hover: rgba(255, 255, 255, 0.18);

    --accent-soft: rgba(155, 27, 48, 0.15);
    --accent-glow: rgba(185, 28, 58, 0.25);
    --gold: #c9a85c;
    --gold-soft: rgba(201, 168, 92, 0.12);

    --text-primary: #f1f5f9;
    --text-secondary: #8899aa;
    --text-muted: #506070;

    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.1);

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-input: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-btn: 0 2px 12px rgba(155, 27, 48, 0.3);
    --shadow-btn-hover: 0 4px 20px rgba(155, 27, 48, 0.5);

    --nav-bg: rgba(8, 14, 25, 0.6);
    --nav-link-hover-bg: rgba(255, 255, 255, 0.05);
    --mobile-nav-bg: rgba(8, 14, 25, 0.95);
    --bg-gradient-accent: rgba(155, 27, 48, 0.07);
    --bg-gradient-blue: rgba(20, 40, 80, 0.12);
    --grid-line-color: rgba(255, 255, 255, 0.018);
    --globe-opacity: 0.03;
    --globe-blend: screen;
    --logo-filter: brightness(0) invert(1) brightness(0.85);
    --logo-brand-filter: brightness(0) invert(1) brightness(0.75);
    --logo-tagline-filter: brightness(0) invert(1) brightness(0.65) opacity(0.6);
    --hero-glow: rgba(155, 27, 48, 0.05);
    --input-focus-bg: rgba(8, 14, 25, 0.8);
    --service-card-bg: rgba(20, 30, 48, 0.5);
    --service-card-hover-bg: rgba(25, 38, 60, 0.7);
    --service-card-hover-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    --services-section-bg: linear-gradient(180deg, transparent 0%, rgba(8, 14, 25, 0.5) 100%);
    --contact-section-bg: linear-gradient(180deg, transparent 0%, rgba(8, 14, 25, 0.8) 100%);
    --footer-bg: rgba(6, 10, 16, 0.8);
    --social-bg: rgba(255, 255, 255, 0.05);
    --social-hover-bg: rgba(255, 255, 255, 0.1);
    --ghost-btn-hover-bg: rgba(255, 255, 255, 0.03);
    --outline-btn-border: rgba(255, 255, 255, 0.15);
    --outline-btn-hover-border: rgba(255, 255, 255, 0.3);
    --outline-btn-hover-bg: rgba(255, 255, 255, 0.05);
}


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

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body.auth-body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-deep);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================================
   ATMOSPHERIC BACKGROUND
   ========================================================================== */

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--bg-gradient-accent) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, var(--bg-gradient-blue) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 40%, var(--bg-secondary) 100%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

.auth-bg-globe {
    position: absolute;
    inset: 0;
    background: url('/auth/images/bannertop01.jpg') center 30% / cover no-repeat;
    opacity: var(--globe-opacity);
    mix-blend-mode: var(--globe-blend);
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.auth-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.auth-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-nav-brand img {
    height: 32px;
    width: auto;
    filter: var(--logo-brand-filter);
    opacity: 0.85;
    transition: opacity var(--fast), filter 0.3s ease;
}

.auth-nav-brand:hover img {
    opacity: 1;
}

.auth-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.auth-nav-links a {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--fast), background var(--fast);
}

.auth-nav-links a:hover {
    color: var(--text-primary);
    background: var(--nav-link-hover-bg);
}

/* Theme Toggle */
.auth-theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--social-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--fast);
    flex-shrink: 0;
}

.auth-theme-toggle:hover {
    color: var(--text-primary);
    background: var(--social-hover-bg);
    border-color: var(--border-input-hover);
}

/* Show moon in light, sun in dark */
.auth-theme-toggle .icon-sun  { display: none; }
.auth-theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .auth-theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .auth-theme-toggle .icon-moon { display: none; }

/* Mobile nav toggle */
.auth-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.auth-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: transform var(--fast), opacity var(--fast);
}


/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.auth-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 48px;
}


/* ==========================================================================
   AUTH HERO
   ========================================================================== */

.auth-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    animation: cardReveal 0.6s ease-out;
}

/* Subtle glow behind card */
.auth-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
    pointer-events: none;
}


/* ==========================================================================
   AUTH CARD
   ========================================================================== */

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Top accent line */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 0 0 4px 4px;
}

.auth-card-logo {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeUp 0.5s ease-out 0.1s both;
}

.auth-card-logo img {
    height: 65px;
    width: auto;
    filter: var(--logo-filter);
    opacity: 0.9;
    transition: filter 0.3s ease;
}

.auth-card-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 600;
    text-align: center;
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    animation: fadeUp 0.5s ease-out 0.2s both;
}

.auth-card-subtitle {
    font-size: 0.9375rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeUp 0.5s ease-out 0.25s both;
}


/* ==========================================================================
   ALERT MESSAGES
   ========================================================================== */

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 20px;
    border: 1px solid;
    line-height: 1.5;
}

.auth-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert--success {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(22, 163, 74, 0.18);
}

.auth-alert--error {
    background: var(--error-bg);
    color: var(--error);
    border-color: rgba(220, 38, 38, 0.18);
}

.auth-alert--info {
    background: var(--info-bg);
    color: var(--info);
    border-color: rgba(37, 99, 235, 0.18);
}

/* Flash package compatibility */
.auth-card .alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 16px;
    border: 1px solid;
}

.auth-card .alert-success {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(22, 163, 74, 0.18);
}

.auth-card .alert-danger {
    background: var(--error-bg);
    color: var(--error);
    border-color: rgba(220, 38, 38, 0.18);
}

.auth-card .alert-info {
    background: var(--info-bg);
    color: var(--info);
    border-color: rgba(37, 99, 235, 0.18);
}

.auth-card .alert-warning {
    background: var(--gold-soft);
    color: var(--gold);
    border-color: rgba(150, 121, 47, 0.18);
}


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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeUp 0.5s ease-out 0.3s both;
}

.auth-form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

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

.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--fast);
}

.auth-input-wrap input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
    box-shadow: var(--shadow-input);
}

.auth-input-wrap input::placeholder {
    color: var(--text-muted);
}

.auth-input-wrap input:hover {
    border-color: var(--border-input-hover);
}

.auth-input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-input);
    background: var(--input-focus-bg);
}

/* Icon highlight on focus */
.auth-input-wrap:has(input:focus) .auth-input-icon {
    color: var(--accent-hover);
}

.auth-form-group.has-error .auth-input-wrap input {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-bg);
}

.auth-field-error {
    display: block;
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 6px;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--fast);
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1;
}

.auth-btn--primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--text-on-accent);
    box-shadow: var(--shadow-btn);
}

.auth-btn--primary:hover {
    box-shadow: var(--shadow-btn-hover);
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-bright) 100%);
}

.auth-btn--primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-btn);
}

.auth-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-input);
    width: 100%;
}

.auth-btn--ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-input-hover);
    background: var(--ghost-btn-hover-bg);
}

.auth-btn--outline-light {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--outline-btn-border);
    padding: 10px 28px;
    font-size: 0.875rem;
}

.auth-btn--outline-light:hover {
    color: var(--text-primary);
    border-color: var(--outline-btn-hover-border);
    background: var(--outline-btn-hover-bg);
}


/* ==========================================================================
   CARD LINKS (Forgot Password / Signup)
   ========================================================================== */

.auth-card-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    animation: fadeUp 0.5s ease-out 0.4s both;
}

.auth-card-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--fast);
}

.auth-card-links a:hover {
    color: var(--accent-hover);
}

.auth-card-links-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}


/* ==========================================================================
   ALREADY LOGGED IN
   ========================================================================== */

.auth-already-logged {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}


/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.auth-services {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    background: var(--services-section-bg);
}

.auth-services-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.auth-services-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-services-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.auth-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.auth-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    background: var(--service-card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--normal);
    text-decoration: none;
}

.auth-service-card:hover {
    background: var(--service-card-hover-bg);
    border-color: var(--border-input-hover);
    transform: translateY(-4px);
    box-shadow: var(--service-card-hover-shadow);
}

.auth-service-card--accent:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(155, 27, 48, 0.1);
}

.auth-service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    color: var(--accent-hover);
    margin-bottom: 16px;
    transition: background var(--normal), transform var(--normal);
}

.auth-service-card:hover .auth-service-icon {
    background: var(--accent-glow);
    transform: scale(1.05);
}

.auth-service-card h3 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.auth-service-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}


/* ==========================================================================
   TAGLINE SECTION
   ========================================================================== */

.auth-tagline {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.auth-tagline-inner {
    max-width: 600px;
    margin: 0 auto;
}

.auth-tagline-logo {
    height: 44px;
    width: auto;
    filter: var(--logo-tagline-filter);
    margin-bottom: 16px;
    transition: filter 0.3s ease;
}

.auth-tagline h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.02em;
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.auth-contact {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
    text-align: center;
    background: var(--contact-section-bg);
}

.auth-contact-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.auth-contact-phone {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.auth-social-links {
    display: flex;
    gap: 12px;
}

.auth-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--social-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--fast);
}

.auth-social-link:hover {
    color: var(--text-primary);
    background: var(--social-hover-bg);
    border-color: var(--border-input-hover);
    transform: translateY(-2px);
}


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

.auth-footer {
    position: relative;
    z-index: 1;
    padding: 32px 24px;
    background: var(--footer-bg);
    border-top: 1px solid var(--border-subtle);
}

.auth-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.auth-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.auth-footer-links a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color var(--fast);
}

.auth-footer-links a:hover {
    color: var(--text-secondary);
}

.auth-footer-copy {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-footer-copy a {
    color: var(--text-secondary);
    transition: color var(--fast);
}

.auth-footer-copy a:hover {
    color: var(--accent-hover);
}


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

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

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


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

@media (max-width: 1100px) {
    .auth-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .auth-nav-toggle {
        display: flex;
    }

    .auth-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--mobile-nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 8px 16px;
    }

    .auth-nav.open .auth-nav-links {
        display: flex;
    }

    .auth-nav.open .auth-nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .auth-nav.open .auth-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .auth-nav.open .auth-nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .auth-main {
        padding: 80px 16px 40px;
    }

    .auth-card {
        padding: 36px 24px;
        border-radius: var(--radius-lg);
    }

    .auth-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-services {
        padding: 48px 16px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 20px;
    }

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

    .auth-services-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .auth-footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .auth-card-links {
        flex-direction: column;
        gap: 10px;
    }

    .auth-card-links-divider {
        display: none;
    }
}
