.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.auth-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.auth-form h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #111827;
    text-align: center;
}

.auth-subtitle {
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-login .social-btn:only-child {
    flex: 1;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn.google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.social-btn.google i {
    color: #ea4335;
}

.social-btn.google:hover {
    background: #f8f9fa;
    border-color: #c1c7cd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.social-btn.facebook {
    background: #1877f2;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: #fff;
    padding: 0 16px;
    position: relative;
    color: #9ca3af;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 15px;
    transition: all 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.password-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.password-wrapper input {
    margin-bottom: 0;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #ef4444;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #dc2626;
}

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

.btn-submit.success {
    background: #10b981;
}

.btn-submit.success:hover {
    background: #10b981;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: #6b7280;
    font-size: 14px;
}

.auth-switch a {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
}

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

/* =========================================
   DARK THEME — Login Page
========================================= */
body.dark-theme .auth-form {
    background: #252525;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

body.dark-theme .auth-form h2 {
    color: #f9fafb;
}

body.dark-theme .auth-subtitle {
    color: #9ca3af;
}

body.dark-theme .divider::before {
    background: #374151;
}

body.dark-theme .divider span {
    background: #252525;
    color: #6b7280;
}

body.dark-theme .auth-form input {
    background: #1a1a1a;
    border-color: #374151;
    color: #f9fafb;
}

body.dark-theme .auth-form input::placeholder {
    color: #4b5563;
}

body.dark-theme .auth-form input:focus {
    border-color: #ef4444;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

body.dark-theme .toggle-password {
    color: #6b7280;
}

body.dark-theme .social-btn {
    opacity: 0.9;
}

body.dark-theme .social-btn.google {
    background: #2d2d2d;
    color: #e8eaed;
    border-color: #5f6368;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-theme .social-btn.google i {
    color: #ea4335;
}

body.dark-theme .social-btn.google:hover {
    background: #383838;
    border-color: #80868b;
}

body.dark-theme .auth-switch {
    color: #9ca3af;
}

body.dark-theme .auth-switch a {
    color: #f87171;
}