/* ═══════════════════════════════════════════════════════════
   SYNTERRA - Authentication Pages Stylesheet
   Login, Register, Password Reset, etc.
   Premium Enterprise Design
   ═══════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. AUTH LAYOUT - FULL PAGE DESIGN
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 50%
    );
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(26, 41, 66, 0.5) 0%,
        transparent 50%
    );
    animation: rotate 40s linear infinite reverse;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. AUTH CARD - MAIN CONTAINER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-card {
    background: rgba(26, 41, 66, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-accent-gold) 50%,
        transparent 100%
    );
    border-radius: 24px 24px 0 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. LOGO SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.auth-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
    animation: float 3s ease-in-out infinite;
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-brand-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.auth-brand-tagline {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. HEADER SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.auth-title {
    font-size: 1.75rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.auth-subtitle {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. FORM ELEMENTS - ENHANCED
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-form {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.auth-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.auth-form-label {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
    transition: color 0.3s ease;
}

.auth-form-input-wrapper {
    position: relative;
}

.auth-form-input {
    width: 100%;
    padding: 1rem 1.125rem;
    padding-right: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.auth-form-input::placeholder {
    color: var(--color-text-muted);
}

.auth-form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent-gold);
    box-shadow: 
        0 0 0 4px rgba(212, 175, 55, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.auth-form-input:focus + .auth-form-icon {
    color: var(--color-accent-gold);
}

.auth-form-input.error {
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.05);
}

.auth-form-input.success {
    border-color: var(--color-success);
    background: rgba(16, 185, 129, 0.05);
}

/* Input Icons */
.auth-form-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1.125rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

/* Password Toggle */
.auth-password-toggle {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    outline: none;
}

.auth-password-toggle:hover {
    color: var(--color-accent-gold);
}

.auth-password-toggle:focus {
    color: var(--color-accent-gold);
    outline: 2px solid rgba(212, 175, 55, 0.3);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Error Message */
.auth-form-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: shake 0.5s ease;
}

.auth-form-error-icon {
    font-size: 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. CHECKBOX & REMEMBER ME
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.auth-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.auth-checkbox-custom {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.auth-checkbox input[type="checkbox"]:checked ~ .auth-checkbox-custom {
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
    border-color: var(--color-accent-gold);
}

.auth-checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    top: 2px;
    right: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--color-primary-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-checkbox input[type="checkbox"]:checked ~ .auth-checkbox-custom::after {
    display: block;
}

.auth-checkbox-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.auth-forgot-link {
    color: var(--color-accent-gold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.auth-forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold-light);
    transition: width 0.3s ease;
}

.auth-forgot-link:hover::after {
    width: 100%;
}

.auth-forgot-link:hover {
    color: var(--color-accent-gold-light);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. SUBMIT BUTTON - PREMIUM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-submit-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
    color: var(--color-primary-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    outline: none;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(-1px);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.auth-submit-btn .spinner {
    border-color: rgba(10, 22, 40, 0.2);
    border-top-color: var(--color-primary-dark);
    margin-right: 0.5rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. FOOTER SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.auth-footer-text {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.auth-footer-link {
    color: var(--color-accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.auth-footer-link:hover {
    color: var(--color-accent-gold-light);
    transform: translateX(-3px);
}

/* Copyright */
.auth-copyright {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. ALERTS IN AUTH PAGES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-alert {
    padding: 1rem 1.125rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    animation: slideDown 0.4s ease;
}

.auth-alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.auth-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. RESPONSIVE DESIGN - COMPREHENSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Extra Large Desktops (1920px and up) */
@media (min-width: 1920px) {
    .auth-card {
        max-width: 520px;
        padding: 3.5rem;
    }
    
    .auth-logo {
        width: 120px;
        height: 120px;
    }
    
    .auth-brand-name {
        font-size: 2.25rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
}

/* Large Desktops (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .auth-card {
        max-width: 500px;
        padding: 3.25rem;
    }
}

/* Standard Desktops (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .auth-card {
        max-width: 480px;
        padding: 3rem;
    }
}

/* Tablets Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .auth-container {
        padding: 1.5rem;
    }
    
    .auth-card {
        max-width: 520px;
        padding: 2.5rem;
        border-radius: 20px;
    }
    
    .auth-logo {
        width: 90px;
        height: 90px;
    }
    
    .auth-brand-name {
        font-size: 1.875rem;
    }
    
    .auth-title {
        font-size: 1.625rem;
    }
    
    .auth-form-input,
    .auth-submit-btn {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Tablets Portrait (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .auth-container {
        padding: 1.25rem;
    }
    
    .auth-card {
        max-width: 480px;
        padding: 2.25rem 2rem;
        border-radius: 18px;
    }
    
    .auth-logo {
        width: 85px;
        height: 85px;
        margin-bottom: 1.25rem;
    }
    
    .auth-brand-name {
        font-size: 1.75rem;
        letter-spacing: 1.5px;
    }
    
    .auth-brand-tagline {
        font-size: 0.875rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.9375rem;
    }
    
    .auth-form-input {
        padding: 0.9375rem 1rem;
        padding-right: 2.75rem;
        font-size: 0.9375rem;
    }
    
    .auth-submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .auth-remember-forgot {
        flex-direction: column;
        gap: 0.875rem;
        align-items: flex-start;
    }
}

/* Large Mobile (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 2rem 1.75rem;
        border-radius: 16px;
    }
    
    .auth-logo-container {
        margin-bottom: 2rem;
    }
    
    .auth-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .auth-brand-name {
        font-size: 1.625rem;
        letter-spacing: 1px;
    }
    
    .auth-brand-tagline {
        font-size: 0.8125rem;
    }
    
    .auth-header {
        margin-bottom: 1.75rem;
    }
    
    .auth-title {
        font-size: 1.375rem;
        margin-bottom: 0.625rem;
    }
    
    .auth-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .auth-form-group {
        margin-bottom: 1.25rem;
    }
    
    .auth-form-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-form-input {
        padding: 0.875rem 1rem;
        padding-right: 2.5rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
    
    .auth-form-icon {
        font-size: 1rem;
        right: 0.875rem;
    }
    
    .auth-password-toggle {
        left: 0.875rem;
        font-size: 1rem;
    }
    
    .auth-remember-forgot {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    
    .auth-checkbox-label,
    .auth-forgot-link {
        font-size: 0.875rem;
    }
    
    .auth-submit-btn {
        padding: 0.9375rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
    
    .auth-footer {
        margin-top: 1.75rem;
        padding-top: 1.75rem;
    }
    
    .auth-footer-text {
        font-size: 0.875rem;
    }
    
    .auth-copyright {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        font-size: 0.75rem;
    }
}

/* Standard Mobile (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .auth-container {
        padding: 0.875rem;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 1.75rem 1.5rem;
        border-radius: 14px;
    }
    
    .auth-logo-container {
        margin-bottom: 1.75rem;
    }
    
    .auth-logo {
        width: 75px;
        height: 75px;
        margin-bottom: 0.875rem;
    }
    
    .auth-brand-name {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .auth-brand-tagline {
        font-size: 0.75rem;
    }
    
    .auth-header {
        margin-bottom: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .auth-form-group {
        margin-bottom: 1.125rem;
    }
    
    .auth-form-label {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-form-input {
        padding: 0.8125rem 0.875rem;
        padding-right: 2.5rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    .auth-form-icon {
        font-size: 0.9375rem;
        right: 0.75rem;
    }
    
    .auth-password-toggle {
        left: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .auth-remember-forgot {
        flex-direction: column;
        gap: 0.625rem;
        align-items: flex-start;
        margin-bottom: 1.375rem;
    }
    
    .auth-checkbox-label,
    .auth-forgot-link {
        font-size: 0.8125rem;
    }
    
    .auth-submit-btn {
        padding: 0.875rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
    
    .auth-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .auth-footer-text {
        font-size: 0.8125rem;
    }
    
    .auth-copyright {
        margin-top: 1rem;
        padding-top: 1rem;
        font-size: 0.6875rem;
    }
}

/* Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .auth-container {
        padding: 0.75rem;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 1.5rem;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
    
    .auth-logo-container {
        margin-bottom: 1.5rem;
    }
    
    .auth-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .auth-brand-name {
        font-size: 1.375rem;
        letter-spacing: 0.5px;
    }
    
    .auth-brand-tagline {
        font-size: 0.6875rem;
    }
    
    .auth-header {
        margin-bottom: 1.25rem;
    }
    
    .auth-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .auth-form-group {
        margin-bottom: 1rem;
    }
    
    .auth-form-label {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    .auth-form-input {
        padding: 0.75rem 0.75rem;
        padding-right: 2.25rem;
        font-size: 0.8125rem;
        border-radius: 8px;
    }
    
    .auth-form-input::placeholder {
        font-size: 0.75rem;
    }
    
    .auth-form-icon {
        font-size: 0.875rem;
        right: 0.625rem;
    }
    
    .auth-password-toggle {
        left: 0.625rem;
        font-size: 0.875rem;
        padding: 0.125rem;
    }
    
    .auth-checkbox {
        width: 18px;
        height: 18px;
    }
    
    .auth-checkbox-custom {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }
    
    .auth-checkbox-custom::after {
        right: 5px;
        width: 4px;
        height: 9px;
    }
    
    .auth-remember-forgot {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        margin-bottom: 1.25rem;
    }
    
    .auth-checkbox-label,
    .auth-forgot-link {
        font-size: 0.75rem;
    }
    
    .auth-submit-btn {
        padding: 0.8125rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 8px;
    }
    
    .auth-footer {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
    
    .auth-footer-text {
        font-size: 0.75rem;
    }
    
    .auth-copyright {
        margin-top: 0.875rem;
        padding-top: 0.875rem;
        font-size: 0.625rem;
    }
    
    .auth-alert {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }
    
    .auth-alert-icon {
        font-size: 1rem;
    }
    
    .auth-form-error {
        font-size: 0.75rem;
        margin-top: 0.375rem;
    }
}

/* Landscape Mode Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .auth-container {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .auth-card {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .auth-logo-container {
        margin-bottom: 1rem;
    }
    
    .auth-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .auth-brand-name {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .auth-brand-tagline {
        font-size: 0.75rem;
    }
    
    .auth-header {
        margin-bottom: 1rem;
    }
    
    .auth-title {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }
    
    .auth-subtitle {
        font-size: 0.8125rem;
    }
    
    .auth-form-group {
        margin-bottom: 0.875rem;
    }
    
    .auth-form-input,
    .auth-submit-btn {
        padding: 0.625rem 0.875rem;
    }
    
    .auth-remember-forgot {
        margin-bottom: 0.875rem;
    }
    
    .auth-footer {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .auth-copyright {
        margin-top: 0.625rem;
        padding-top: 0.625rem;
    }
}

/* Very Small Landscape (iPhone SE landscape, etc.) */
@media (max-width: 667px) and (max-height: 375px) and (orientation: landscape) {
    .auth-container {
        padding: 0.75rem;
        overflow-y: auto;
    }
    
    .auth-card {
        padding: 1rem;
    }
    
    .auth-logo {
        width: 50px;
        height: 50px;
    }
    
    .auth-brand-name {
        font-size: 1.125rem;
    }
    
    .auth-form-group {
        margin-bottom: 0.75rem;
    }
    
    .auth-footer {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .auth-container::before,
    .auth-container::after {
        display: none;
    }
    
    .auth-card {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. LOADING STATE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.auth-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.auth-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--color-accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}