/* ============================================
   Login Page - Professional Design
   SSO Portal Login Interface
   ============================================ */

:root {
    --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Light Theme (Red Crescent) */
    --bg-color-light: #fdf2f2;
    --header-bg-light: rgba(255, 255, 255, 0.7);
    --card-bg-light: #ffffff;
    --text-primary-light: #333333;
    --text-secondary-light: #555555;
    --accent-color-light: #c9184a;
    --accent-glow-light: rgba(201, 24, 74, 0.1);
    --border-color-light: #fde0e0;

    /* Primary Colors */
    --primary-50: #fef2f2;
    --primary-100: #fee2e2;
    --primary-200: #fecaca;
    --primary-300: #fca5a5;
    --primary-400: #f87171;
    --primary-500: #ef4444;
    --primary-600: #dc2626;
    --primary-700: #b91c1c;
    --primary-800: #991b1b;
    --primary-900: #7f1d1d;

    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Border Colors */
    --border-primary: #e5e7eb;
    --border-secondary: #d1d5db;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;

    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;

    --border-primary: #374151;
    --border-secondary: #4b5563;

    --primary-50: #fef2f2;
    --primary-100: #fee2e2;
    --primary-200: #fecaca;
    --primary-300: #fca5a5;
    --primary-400: #f87171;
    --primary-500: #ef4444;
    --primary-600: #dc2626;
    --primary-700: #b91c1c;
    --primary-800: #991b1b;
    --primary-900: #7f1d1d;

    /* Status Colors for Dark Mode */
    --success-50: #f0fdf4;
    --success-500: #16a34a;
    --success-600: #16a34a;
    --warning-50: #fffbeb;
    --warning-500: #d97706;
    --error-50: #fef2f2;
    --error-500: #dc2626;
    --error-600: #dc2626;
    --error-700: #b91c1c;
}

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

body {
    font-family: var(--font-family);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Background Elements */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 24, 74, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

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

/* Main Container */
.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

/* Login Card */
.login-card {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    overflow: hidden;
    backdrop-filter: blur(20px);
    position: relative;
}

/* Header */
.login-header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(201, 24, 74, 0.1) 0%, rgba(255, 77, 109, 0.05) 100%);
    border-bottom: 1px solid rgba(201, 24, 74, 0.2);
}

.brand-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: row;
}

.login-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    margin-top: -5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    max-width: 400px;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 1px 2px rgba(201, 24, 74, 0.2);
}

.brand-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.login-subtitle {
    font-size: 0.9rem;
    color: #c9184a;
    margin: 0.5rem 0 0 -20px;
    font-weight: 500;
    text-align: right;
    width: auto;
    line-height: 1.4;
}
/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
    background: linear-gradient(135deg, rgba(201, 24, 74, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

/* Forms */
.login-form {
    padding: 2rem;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.input-group i {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 3.5rem 0.875rem 4.5rem;
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    text-align: right;
    direction: ltr;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(201, 24, 74, 0.2);
}

.input-group input::placeholder {
    color: var(--text-tertiary);
    direction: rtl;
}

.toggle-password {
    position: absolute;
    left: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-password:hover {
    background: rgba(201, 24, 74, 0.1);
    color: var(--primary-600);
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-primary);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

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

/* OTP Method Selector */
.otp-method-selector {
    margin-bottom: 1.5rem;
}

.otp-method-selector label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.method-options {
    display: flex;
    gap: 1rem;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.radio-container:hover {
    background: var(--bg-tertiary);
}

.radio-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.radio-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.radio-container input[type="radio"]:checked ~ .radio-checkmark {
    border-color: var(--primary-600);
}

.radio-container input[type="radio"]:checked ~ .radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--primary-600);
    border-radius: 50%;
}

/* Buttons */
.login-btn, .send-otp-btn, .reset-btn, .back-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(201, 24, 74, 0.4);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-buttons .reset-btn, .modal-buttons .back-btn {
    flex: 1;
}

.login-btn:hover, .send-otp-btn:hover, .reset-btn:hover, .back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 24, 74, 0.5);
}

.login-btn:active, .send-otp-btn:active, .reset-btn:active, .back-btn:active {
    transform: translateY(0);
}

.login-btn:disabled, .send-otp-btn:disabled, .reset-btn:disabled, .back-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* OTP Verification */
.otp-verification {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.otp-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary-600);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.resend-btn:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.1);
}

.resend-btn:disabled {
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

body[data-theme="dark"] .modal-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-600);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
.login-footer {
    padding: 1.5rem 2rem;
    background: rgba(201, 24, 74, 0.05);
    border-top: 1px solid rgba(201, 24, 74, 0.1);
    text-align: center;
}

.login-footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-600);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(201, 24, 74, 0.1);
    border: 1px solid rgba(201, 24, 74, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #c9184a;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.theme-toggle-btn:hover {
    background: rgba(201, 24, 74, 0.2);
    color: #c9184a;
    transform: scale(1.1);
}

/* Message Notifications */
.message-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInFromTop 0.3s ease-out;
}

.login-logo {
    width: 50px;
    height: 50px;
    margin-top: 0;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-notification.success {
    background: #d1fae5;
    color: #065f46;
}

.message-notification.error {
    background: rgba(201, 24, 74, 0.1);
    color: #c9184a;
    border: 1px solid rgba(201, 24, 74, 0.2);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Field Error Styles */
.field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

input.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: slideInUp 0.6s ease-out;
}

/* ============================================
   Mobile-First Responsive Design
   ============================================ */

/* Mobile Touch Targets - Minimum 44px */
@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .login-container {
        max-width: 100%;
        margin: 0;
    }

    .login-card {
        border-radius: 16px;
        margin: 0;
    }

    /* Mobile Header Improvements */
    .login-header {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .brand-section {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .login-logo {
        width: 48px;
        height: 48px;
        margin-top: 0;
    }

    .brand-text {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .brand-text h1 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .brand-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .login-subtitle {
        text-align: center;
        margin: 0.75rem 0 0;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Mobile Form Improvements */
    .login-form {
        padding: 1.5rem 1rem;
    }

    .auth-tabs {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        overflow: hidden;
    }

    .auth-tab {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Form Groups */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    /* Mobile Input Improvements */
    .input-group input {
        padding: 1rem 3rem 1rem 3.5rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 48px;
        border: 2px solid var(--border-primary);
        transition: all 0.2s ease;
    }

    .input-group input:focus {
        border-color: var(--primary-600);
        box-shadow: 0 0 0 3px rgba(201, 24, 74, 0.15);
        transform: translateY(-1px);
    }

    .input-group i {
        right: 1rem;
        font-size: 1.1rem;
        color: var(--text-tertiary);
    }

    .toggle-password {
        left: 1rem;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    /* Mobile Form Options */
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .checkbox-container {
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .checkmark {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .forgot-link {
        font-size: 0.9rem;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .forgot-link:hover {
        background: rgba(201, 24, 74, 0.1);
    }

    /* Mobile OTP Method Selector */
    .otp-method-selector {
        margin-bottom: 1.25rem;
    }

    .method-options {
        flex-direction: column;
        gap: 0.75rem;
    }

    .radio-container {
        padding: 0.75rem;
        border: 2px solid var(--border-primary);
        border-radius: 12px;
        transition: all 0.2s ease;
        min-height: 48px;
    }

    .radio-container:hover {
        border-color: var(--primary-600);
        background: rgba(201, 24, 74, 0.05);
    }

    .radio-checkmark {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    /* Mobile Buttons */
    .login-btn, .send-otp-btn, .reset-btn, .back-btn {
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 48px;
        box-shadow: 0 4px 12px rgba(201, 24, 74, 0.3);
        transition: all 0.2s ease;
    }

    .login-btn:hover, .send-otp-btn:hover, .reset-btn:hover, .back-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(201, 24, 74, 0.4);
    }

    .login-btn:active, .send-otp-btn:active, .reset-btn:active, .back-btn:active {
        transform: translateY(0);
    }

    /* Mobile OTP Verification */
    .otp-verification {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .otp-timer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .resend-btn {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Mobile Modal Improvements */
    .modal-content {
        width: 95%;
        max-width: 400px;
        margin: 1rem;
        border-radius: 16px;
    }

    .modal-header {
        padding: 1.25rem;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-buttons .reset-btn, .modal-buttons .back-btn {
        width: 100%;
        min-height: 48px;
    }

    /* Mobile Footer */
    .login-footer {
        padding: 1rem;
        text-align: center;
    }

    .login-footer p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Mobile Floating Support Button */
    .floating-support-btn {
        bottom: 1rem;
        left: 1rem;
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    /* Mobile Message Notifications */
    .message-notification {
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
        padding: 1rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    /* Mobile Field Error Styles */
    .field-error {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        background: rgba(220, 38, 38, 0.1);
        border-radius: 8px;
        border-right: 3px solid #dc2626;
    }

    input.error {
        border-color: #dc2626 !important;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    }

    /* Mobile Background Elements */
    .bg-shape {
        display: none;
    }

    /* Mobile Theme Toggle */
    .theme-toggle-btn {
        top: 0.5rem;
        left: 0.5rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-header, .login-form {
        padding: 1.5rem;
    }

    .method-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .otp-timer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .message-notification {
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
    }
}

/* Dark Theme */
[data-theme="dark"] .login-header {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.8) 0%, rgba(55, 65, 81, 0.6) 100%);
    border-bottom: 1px solid #374151;
}

[data-theme="dark"] .brand-text h1 {
    text-shadow: none;
}

[data-theme="dark"] .auth-tab.active {
    background: #1f2937;
    color: #f87171;
    border-bottom-color: #f87171;
}

[data-theme="dark"] .login-footer {
    background: #1f2937;
    border-top: 1px solid #374151;
}

/* Floating Support Button */
.floating-support-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(201, 24, 74, 0.3);
    transition: var(--transition);
    z-index: 1000;
}

.floating-support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(201, 24, 74, 0.4);
}
