/*
 * GOLD CENTER - Login Page Styles
 * Dedicated CSS for login page
 * Version 1.0
 */

/* ========================================
   Login Container
======================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* ========================================
   Login Card
======================================== */
.login-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
}

.login-header p {
    color: #6b7280;
    font-size: 14px;
}

/* ========================================
   Form Styles
======================================== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.form-group input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #fbbf24;
    background: white;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Remember & Forgot */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    accent-color: #fbbf24;
    cursor: pointer;
}

.remember-me span {
    font-size: 14px;
    color: #4b5563;
}

.forgot-link {
    font-size: 14px;
    color: #b45309;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9ca3af;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    border-color: #fbbf24;
    background: #fffbeb;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

/* Register Link */
.register-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.register-link a {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 24px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link a:hover {
    color: #1f2937;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   Error Messages
======================================== */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 16px;
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
    }

    .login-logo {
        font-size: 24px;
    }

    .social-login {
        flex-direction: column;
    }
}