/**
 * Premium Login Form Styles
 * Consistent with registration page luxury spa aesthetic
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400;500;600&display=swap');

/* Color Palette */
:root {
    --dark-brown: #2B1E18;
    --medium-brown: #4A352A;
    --soft-gold: #C6A45C;
    --light-beige: #F5EFE9;
    --warm-beige: #F1E7DD;
}

/* Hero Section */
.login-hero {
    position: relative;
    width: 100%;
    min-height: 40vh;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .05) 2px, rgba(0, 0, 0, .05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, .05) 2px, rgba(0, 0, 0, .05) 4px);
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(198, 164, 92, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-beige);
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--soft-gold);
    margin: 0;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Login Wrapper */
.login-wrapper {
    max-width: 500px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Login Container */
.login-container-premium {
    background: var(--warm-beige);
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(43, 30, 24, 0.15);
}

/* Login Header */
.login-header-premium {
    text-align: center;
    margin-bottom: 40px;
}

.login-header-premium h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-brown);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.golden-divider {
    width: 80px;
    height: 3px;
    background: var(--soft-gold);
    margin: 0 auto;
}

/* Form Fields */
.premium-login-form {
    width: 100%;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-brown);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-field input[type="text"],
.form-field input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: #FAF7F4;
    border: 1px solid #D8C2AE;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--dark-brown);
}

.form-field input[type="text"]:focus,
.form-field input[type="password"]:focus {
    outline: none;
    border-color: var(--soft-gold);
    box-shadow: 0 0 0 3px rgba(198, 164, 92, 0.1);
}

/* Checkbox Field */
.checkbox-field {
    margin-bottom: 30px;
}

.checkbox-label-premium {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--medium-brown);
}

.checkbox-label-premium input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--soft-gold);
}

/* Submit Button */
.form-submit-premium {
    margin-bottom: 20px;
}

.btn-submit-premium {
    width: 100%;
    padding: 16px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--dark-brown);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-premium:hover {
    background: var(--soft-gold);
    box-shadow: 0 4px 15px rgba(198, 164, 92, 0.3);
    transform: translateY(-2px);
}

/* Login Links */
.login-links {
    text-align: center;
    margin-top: 20px;
}

.forgot-password {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--medium-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--soft-gold);
}

/* Error Message */
.login-error-premium {
    background: #FFF5F5;
    border: 2px solid #E53E3E;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-icon {
    font-size: 1.5rem;
    color: #E53E3E;
}

.login-error-premium p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #742A2A;
}

/* Footer Section */
.login-footer {
    background: var(--dark-brown);
    padding: 30px 20px;
    text-align: center;
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--light-beige);
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .login-container-premium {
        padding: 40px 30px;
    }

    .login-wrapper {
        margin: -40px auto 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .login-container-premium {
        padding: 30px 20px;
    }

    .login-header-premium h2 {
        font-size: 1.6rem;
    }
}