/* FixiBo Authentication Pages - Professional Color System */

:root {
    /* === PROFESSIONAL COLOR PALETTE === */
    /* Primary Colors - Deep Tech Blue Family */
    --auth-primary-50: #eff6ff;
    --auth-primary-100: #dbeafe;
    --auth-primary-200: #bfdbfe;
    --auth-primary-300: #93c5fd;
    --auth-primary-400: #60a5fa;
    --auth-primary-500: #3b82f6;
    --auth-primary-600: #2563eb;
    --auth-primary-700: #1d4ed8;
    --auth-primary-800: #1e40af;
    --auth-primary-900: #1e3a8a;
    --auth-primary-950: #172554;
    
    /* Secondary Colors - Rich Purple Family */
    --auth-secondary-50: #f5f3ff;
    --auth-secondary-100: #ede9fe;
    --auth-secondary-200: #ddd6fe;
    --auth-secondary-300: #c4b5fd;
    --auth-secondary-400: #a78bfa;
    --auth-secondary-500: #8b5cf6;
    --auth-secondary-600: #7c3aed;
    --auth-secondary-700: #6d28d9;
    --auth-secondary-800: #5b21b6;
    --auth-secondary-900: #4c1d95;
    --auth-secondary-950: #2e1065;
    
    /* Success Colors - Vibrant Teal Family */
    --auth-success-50: #f0fdfa;
    --auth-success-100: #ccfbf1;
    --auth-success-200: #99f6e4;
    --auth-success-300: #5eead4;
    --auth-success-400: #2dd4bf;
    --auth-success-500: #14b8a6;
    --auth-success-600: #0d9488;
    --auth-success-700: #0f766e;
    --auth-success-800: #115e59;
    --auth-success-900: #134e4a;
    --auth-success-950: #042f2e;
    
    /* Warning Colors - Amber Family */
    --auth-warning-50: #fffbeb;
    --auth-warning-100: #fef3c7;
    --auth-warning-200: #fde68a;
    --auth-warning-300: #fcd34d;
    --auth-warning-400: #fbbf24;
    --auth-warning-500: #f59e0b;
    --auth-warning-600: #d97706;
    --auth-warning-700: #b45309;
    --auth-warning-800: #92400e;
    --auth-warning-900: #78350f;
    --auth-warning-950: #451a03;
    
    /* Error Colors - Rose Family */
    --auth-error-50: #fff1f2;
    --auth-error-100: #ffe4e6;
    --auth-error-200: #fecdd3;
    --auth-error-300: #fda4af;
    --auth-error-400: #fb7185;
    --auth-error-500: #f43f5e;
    --auth-error-600: #e11d48;
    --auth-error-700: #be123c;
    --auth-error-800: #9f1239;
    --auth-error-900: #881337;
    --auth-error-950: #4c0519;
    
    /* Info Colors - Sky Family */
    --auth-info-50: #f0f9ff;
    --auth-info-100: #e0f2fe;
    --auth-info-200: #bae6fd;
    --auth-info-300: #7dd3fc;
    --auth-info-400: #38bdf8;
    --auth-info-500: #0ea5e9;
    --auth-info-600: #0284c7;
    --auth-info-700: #0369a1;
    --auth-info-800: #075985;
    --auth-info-900: #0c4a6e;
    --auth-info-950: #082f49;
    
    /* Neutral Colors - Slate Family */
    --auth-neutral-50: #f8fafc;
    --auth-neutral-100: #f1f5f9;
    --auth-neutral-200: #e2e8f0;
    --auth-neutral-300: #cbd5e1;
    --auth-neutral-400: #94a3b8;
    --auth-neutral-500: #64748b;
    --auth-neutral-600: #475569;
    --auth-neutral-700: #334155;
    --auth-neutral-800: #1e293b;
    --auth-neutral-900: #0f172a;
    --auth-neutral-950: #020617;
    
    /* === SEMANTIC COLOR ASSIGNMENTS === */
    --auth-primary: var(--auth-primary-600);
    --auth-primary-hover: var(--auth-primary-700);
    --auth-primary-active: var(--auth-primary-800);
    --auth-primary-disabled: var(--auth-primary-300);
    --auth-primary-light: var(--auth-primary-50);
    --auth-primary-dark: var(--auth-primary-900);
    
    --auth-secondary: var(--auth-secondary-600);
    --auth-secondary-hover: var(--auth-secondary-700);
    --auth-secondary-active: var(--auth-secondary-800);
    --auth-secondary-disabled: var(--auth-secondary-300);
    --auth-secondary-light: var(--auth-secondary-50);
    --auth-secondary-dark: var(--auth-secondary-900);
    
    --auth-success: var(--auth-success-600);
    --auth-success-hover: var(--auth-success-700);
    --auth-success-active: var(--auth-success-800);
    --auth-success-disabled: var(--auth-success-300);
    --auth-success-light: var(--auth-success-50);
    --auth-success-dark: var(--auth-success-900);
    
    --auth-warning: var(--auth-warning-600);
    --auth-warning-hover: var(--auth-warning-700);
    --auth-warning-active: var(--auth-warning-800);
    --auth-warning-disabled: var(--auth-warning-300);
    --auth-warning-light: var(--auth-warning-50);
    --auth-warning-dark: var(--auth-warning-900);
    
    --auth-error: var(--auth-error-600);
    --auth-error-hover: var(--auth-error-700);
    --auth-error-active: var(--auth-error-800);
    --auth-error-disabled: var(--auth-error-300);
    --auth-error-light: var(--auth-error-50);
    --auth-error-dark: var(--auth-error-900);
    
    --auth-info: var(--auth-info-600);
    --auth-info-hover: var(--auth-info-700);
    --auth-info-active: var(--auth-info-800);
    --auth-info-disabled: var(--auth-info-300);
    --auth-info-light: var(--auth-info-50);
    --auth-info-dark: var(--auth-info-900);
    
    /* === LEGACY COMPATIBILITY === */
    --auth-danger: var(--auth-error);
    --auth-dark: var(--auth-neutral-900);
    --auth-light: var(--auth-neutral-50);
    --auth-gray-50: var(--auth-neutral-50);
    --auth-gray-100: var(--auth-neutral-100);
    --auth-gray-200: var(--auth-neutral-200);
    --auth-gray-300: var(--auth-neutral-300);
    --auth-gray-400: var(--auth-neutral-400);
    --auth-gray-500: var(--auth-neutral-500);
    --auth-gray-600: var(--auth-neutral-600);
    --auth-gray-700: var(--auth-neutral-700);
    --auth-gray-800: var(--auth-neutral-800);
    --auth-gray-900: var(--auth-neutral-900);
    
    /* === PROFESSIONAL GRADIENTS === */
    --auth-gradient-primary: linear-gradient(135deg, var(--auth-primary-600) 0%, var(--auth-primary-700) 50%, var(--auth-primary-800) 100%);
    --auth-gradient-secondary: linear-gradient(135deg, var(--auth-secondary-600) 0%, var(--auth-secondary-700) 50%, var(--auth-secondary-800) 100%);
    --auth-gradient-success: linear-gradient(135deg, var(--auth-success-500) 0%, var(--auth-success-600) 100%);
    --auth-gradient-info: linear-gradient(135deg, var(--auth-info-500) 0%, var(--auth-info-600) 100%);
    --auth-gradient-primary-soft: linear-gradient(135deg, var(--auth-primary-500) 0%, var(--auth-secondary-500) 100%);
    --auth-gradient-hero: linear-gradient(135deg, var(--auth-primary-700) 0%, var(--auth-secondary-700) 50%, var(--auth-primary-800) 100%);
    --auth-gradient-bg: linear-gradient(135deg, var(--auth-neutral-800) 0%, var(--auth-neutral-950) 100%);
    
    /* === ACCESSIBILITY-COMPLIANT SHADOWS === */
    --auth-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --auth-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --auth-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --auth-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --auth-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --auth-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --auth-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --auth-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* === ENHANCED DESIGN TOKENS === */
    --auth-border-radius: 12px;
    --auth-border-radius-sm: 8px;
    --auth-border-radius-lg: 16px;
    --auth-border-radius-xl: 20px;
    --auth-border-radius-2xl: 24px;
    --auth-border-radius-full: 9999px;
    
    /* === PROFESSIONAL TRANSITIONS === */
    --auth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --auth-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --auth-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --auth-transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* === CONTRAST RATIOS (WCAG AA/AAA COMPLIANT) === */
    --auth-contrast-primary: #ffffff; /* 4.5:1 ratio with primary */
    --auth-contrast-secondary: #ffffff; /* 4.5:1 ratio with secondary */
    --auth-contrast-success: #ffffff; /* 4.5:1 ratio with success */
    --auth-contrast-warning: #000000; /* 4.5:1 ratio with warning */
    --auth-contrast-error: #ffffff; /* 4.5:1 ratio with error */
    --auth-contrast-info: #ffffff; /* 4.5:1 ratio with info */
}

/* === GLOBAL AUTH STYLES === */
.auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--auth-neutral-100); /* Changed from gradient to solid light color */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1, 'clig' 1, 'calt' 1;
    padding: 2rem 0;
}

.auth-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, var(--auth-primary-100) 0%, transparent 30%),
        radial-gradient(circle at 85% 75%, var(--auth-secondary-100) 0%, transparent 40%);
    animation: authFloat 12s ease-in-out infinite;
    z-index: 1;
    opacity: 0.5;
}

@keyframes authFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* === AUTH CONTAINER === */
.auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px; /* Increased for login selection */
    margin: 0 auto;
    padding: 2rem;
}

/* === ENHANCED AUTH CARDS === */
.auth-card {
    background: #ffffff; /* Solid white background */
    border: 1px solid var(--auth-neutral-200); /* Subtle border */
    border-radius: var(--auth-border-radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* Deeper shadow */
    overflow: hidden;
    transition: var(--auth-transition);
    animation: authSlideUp 0.6s ease-out backwards;
    position: relative;
}

/* Professional hover effect */
.auth-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

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

.auth-card-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.auth-card-body {
    padding: 0 2rem 2rem;
}

.auth-card-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--auth-dark);
    margin: 0;
    line-height: 1.2;
}

.auth-card-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--auth-neutral-600);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* === LOGIN SELECTION CARD === */
.login-selection-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.login-selection-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-selection-card .card-header {
    margin: 0;
    padding: 2rem;
    border-bottom: 1px solid var(--auth-neutral-200);
}

.login-selection-card .card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.login-selection-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.login-selection-card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--auth-neutral-700);
}

.login-selection-card ul li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--auth-success);
    font-size: 1rem;
}

/* === FORM ELEMENTS === */
.auth-form-group {
    margin-bottom: 1.5rem;
}

.auth-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--auth-neutral-700);
    font-size: 0.9rem;
}

.auth-form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--auth-neutral-300);
    border-radius: var(--auth-border-radius-sm);
    background-color: var(--auth-neutral-50);
    transition: var(--auth-transition-fast);
    color: var(--auth-dark);
}

.auth-form-control:focus {
    outline: none;
    border-color: var(--auth-primary);
    background-color: white;
    box-shadow: 0 0 0 3px var(--auth-primary-100);
}

.auth-form-control:hover {
    border-color: var(--auth-neutral-400);
}

.auth-form-control::placeholder {
    color: var(--auth-neutral-400);
}

.auth-input-group {
    display: flex;
    align-items: center;
}

.auth-input-group-text {
    padding: 0.85rem 1rem;
    background-color: var(--auth-neutral-200);
    border: 1px solid var(--auth-neutral-300);
    border-right: none;
    border-radius: var(--auth-border-radius-sm) 0 0 var(--auth-border-radius-sm);
    color: var(--auth-neutral-600);
}

.auth-input-group .auth-form-control {
    border-radius: 0 var(--auth-border-radius-sm) var(--auth-border-radius-sm) 0;
}

.auth-input-group:focus-within .auth-input-group-text {
    border-color: var(--auth-primary);
    background-color: var(--auth-primary-100);
    color: var(--auth-primary-dark);
}

/* === BUTTONS === */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--auth-border-radius-sm);
    border: 1px solid transparent;
    transition: var(--auth-transition);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.auth-btn:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}

.auth-btn > * {
    position: relative;
    z-index: 2;
}

.auth-btn-primary {
    background-color: var(--auth-primary);
    color: var(--auth-contrast-primary);
    border-color: var(--auth-primary);
}

.auth-btn-primary:hover {
    background-color: var(--auth-primary-hover);
    border-color: var(--auth-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow);
    color: var(--auth-contrast-primary);
}

.auth-btn-primary:active {
    background-color: var(--auth-primary-active);
    border-color: var(--auth-primary-active);
    transform: translateY(0);
}

.auth-btn-primary:disabled {
    background-color: var(--auth-primary-disabled);
    border-color: var(--auth-primary-disabled);
    color: var(--auth-neutral-100);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-btn-success {
    background-color: var(--auth-success);
    color: var(--auth-contrast-success);
    border-color: var(--auth-success);
}

.auth-btn-success:hover {
    background-color: var(--auth-success-hover);
    border-color: var(--auth-success-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow);
    color: var(--auth-contrast-success);
}

.auth-btn-success:active {
    background-color: var(--auth-success-active);
    border-color: var(--auth-success-active);
    transform: translateY(0);
}

.auth-btn-success:disabled {
    background-color: var(--auth-success-disabled);
    border-color: var(--auth-success-disabled);
    color: var(--auth-neutral-100);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-btn-info {
    background-color: var(--auth-info);
    color: var(--auth-contrast-info);
    border-color: var(--auth-info);
}

.auth-btn-info:hover {
    background-color: var(--auth-info-hover);
    border-color: var(--auth-info-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow);
    color: var(--auth-contrast-info);
}

.auth-btn-info:active {
    background-color: var(--auth-info-active);
    border-color: var(--auth-info-active);
    transform: translateY(0);
}

.auth-btn-info:disabled {
    background-color: var(--auth-info-disabled);
    border-color: var(--auth-info-disabled);
    color: var(--auth-neutral-100);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-btn-warning {
    background-color: var(--auth-warning);
    color: var(--auth-contrast-warning);
    border-color: var(--auth-warning);
}

.auth-btn-warning:hover {
    background-color: var(--auth-warning-hover);
    border-color: var(--auth-warning-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow);
    color: var(--auth-contrast-warning);
}

.auth-btn-warning:active {
    background-color: var(--auth-warning-active);
    border-color: var(--auth-warning-active);
    transform: translateY(0);
}

.auth-btn-warning:disabled {
    background-color: var(--auth-warning-disabled);
    border-color: var(--auth-warning-disabled);
    color: var(--auth-neutral-600);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-btn-error {
    background-color: var(--auth-error);
    color: var(--auth-contrast-error);
    border-color: var(--auth-error);
}

.auth-btn-error:hover {
    background-color: var(--auth-error-hover);
    border-color: var(--auth-error-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow);
    color: var(--auth-contrast-error);
}

.auth-btn-error:active {
    background-color: var(--auth-error-active);
    border-color: var(--auth-error-active);
    transform: translateY(0);
}

.auth-btn-error:disabled {
    background-color: var(--auth-error-disabled);
    border-color: var(--auth-error-disabled);
    color: var(--auth-neutral-100);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-btn-outline-primary {
    background-color: transparent;
    color: var(--auth-primary);
    border-color: var(--auth-primary);
}

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

.auth-btn-outline-primary:active {
    background-color: var(--auth-primary-100);
    transform: scale(0.98);
}

.auth-btn-outline-primary:disabled {
    color: var(--auth-neutral-400);
    border-color: var(--auth-neutral-300);
    background-color: transparent;
    cursor: not-allowed;
}

.auth-btn-outline-success {
    background-color: transparent;
    color: var(--auth-success);
    border-color: var(--auth-success);
}

.auth-btn-outline-success:hover {
    background-color: var(--auth-success-light);
    color: var(--auth-success-dark);
    border-color: var(--auth-success-light);
}

.auth-btn-outline-success:active {
    background-color: var(--auth-success-100);
    transform: scale(0.98);
}

.auth-btn-outline-success:disabled {
    color: var(--auth-neutral-400);
    border-color: var(--auth-neutral-300);
    background-color: transparent;
    cursor: not-allowed;
}

.auth-btn-outline-info {
    background-color: transparent;
    color: var(--auth-info);
    border-color: var(--auth-info);
}

.auth-btn-outline-info:hover {
    background-color: var(--auth-info-light);
    color: var(--auth-info-dark);
    border-color: var(--auth-info-light);
}

.auth-btn-outline-info:active {
    background-color: var(--auth-info-100);
    transform: scale(0.98);
}

.auth-btn-outline-info:disabled {
    color: var(--auth-neutral-400);
    border-color: var(--auth-neutral-300);
    background-color: transparent;
    cursor: not-allowed;
}

.auth-btn-link {
    color: var(--auth-primary);
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
}

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

.auth-btn-link:active {
    transform: none;
}

.auth-btn-link:disabled {
    color: var(--auth-neutral-400);
    cursor: not-allowed;
    text-decoration: none;
}

.auth-btn-full {
    width: 100%;
}

.auth-btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.auth-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.auth-btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.auth-btn-loading {
    position: relative;
    color: transparent !important;
}

.auth-btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    border-radius: 50%;
    animation: authSpinner 0.6s linear infinite;
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* === OTHER FORM ELEMENTS === */
.auth-form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0;
    border-radius: 4px;
    border: 1px solid var(--auth-neutral-400);
}

.auth-form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth-form-check-label {
    color: var(--auth-neutral-700);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.auth-text-danger {
    color: var(--auth-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-validation-summary {
    margin-bottom: 1rem;
    background: var(--auth-error-light);
    color: var(--auth-error-dark);
    padding: 1rem;
    border-radius: var(--auth-border-radius-sm);
    border-left: 5px solid var(--auth-error);
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--auth-neutral-200);
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--auth-neutral-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-back-link {
    margin-top: 2rem;
    text-align: center;
}

.auth-additional-links {
    text-align: center;
    font-size: 0.9rem;
}

.auth-additional-links p {
    margin-bottom: 0.5rem;
    color: var(--auth-neutral-600);
}

.auth-additional-links a {
    color: var(--auth-primary);
    font-weight: 500;
    text-decoration: none;
}

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

.auth-otp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    transform: scale(0.9); /* Adjust size if needed */
}

.auth-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--auth-shadow);
    margin-bottom: 1rem;
}

.icon-wrapper-primary { background: var(--auth-gradient-primary); }
.icon-wrapper-success { background: var(--auth-gradient-success); }
.icon-wrapper-info { background: var(--auth-gradient-info); }

.auth-form-group.focused .auth-form-label {
    color: var(--auth-primary);
}

.quick-action-link {
    text-decoration: none;
    color: var(--auth-neutral-700);
    display: block;
    transition: var(--auth-transition);
}

.quick-action-link:hover .p-2 {
    transform: translateY(-3px);
    box-shadow: var(--auth-shadow);
    border-color: var(--auth-primary-200) !important;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-online {
    background-color: var(--auth-success);
    box-shadow: 0 0 10px var(--auth-success);
}

/* === LOGIN SELECTION CARD HEADERS === */
.login-selection-card .card-header-customer {
    background: var(--auth-gradient-primary);
    color: white;
}
.login-selection-card .card-header-company {
    background: var(--auth-gradient-success);
    color: white;
}
.login-selection-card .card-header-engineer {
    background: var(--auth-gradient-info);
    color: white;
}

.auth-card-body, .auth-card--body {
    padding: 2rem;
}

.login-selection-card .auth-card-body,
.login-selection-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    .auth-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    .auth-card-body {
        padding: 0 1.5rem 1.5rem;
    }
    .auth-card-title {
        font-size: 1.5rem;
    }
    .login-selection-card {
        margin-bottom: 1.5rem;
    }
    .login-selection-card .card-header {
        padding: 1.5rem;
    }
    .auth-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .auth-card-title {
        font-size: 1.25rem;
    }
    .auth-card-subtitle {
        font-size: 0.9rem;
    }
    .login-selection-card {
        margin-bottom: 1rem;
    }
    .login-selection-card .card-header {
        padding: 1.25rem;
    }
    .login-selection-card .card-header h3 {
        font-size: 1.2rem;
    }
}

/* === ANIMATIONS === */
.auth-fade-in {
    animation: authFadeIn 0.5s ease-out forwards;
}
@keyframes authFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-slide-in-left {
    animation: authSlideInLeft 0.5s ease-out forwards;
}
@keyframes authSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-slide-in-right {
    animation: authSlideInRight 0.5s ease-out forwards;
}
@keyframes authSlideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.auth-btn:focus,
.auth-form-control:focus,
.auth-form-check-input:focus {
    outline: 2px solid var(--auth-primary-400);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .auth-card {
        border: 2px solid;
    }
    .auth-form-control {
        border: 2px solid;
    }
} 

/* Specific styles for Login Selection page */
.auth-body .auth-card-title.text-white,
.auth-body .auth-card-subtitle,
.auth-body .auth-btn.text-white {
    color: var(--auth-dark) !important;
}

.auth-body .auth-card-subtitle {
    color: var(--auth-neutral-600) !important;
}

.auth-back-link a {
    color: var(--auth-neutral-600) !important;
}

.auth-back-link a:hover {
    color: var(--auth-primary) !important;
} 