/* ============================================
   Login Page Styles
   ============================================ */

.login-section {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.login-left {
    padding: 40px;
}

.login-brand {
    text-align: center;
}

.logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-large .logo-icon {
    font-size: 40px;
    color: var(--primary-gold);
}

.logo-large .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    font-style: italic;
    color: var(--accent-color);
}

.login-left h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.4;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-medium);
}

.feature-item i {
    color: #4caf50;
    font-size: 20px;
}

.login-right {
    display: flex;
    justify-content: center;
}

.login-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.login-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
}

.login-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.login-tab.active {
    color: var(--accent-color);
}

.login-tab.active::after {
    width: 100%;
}

.login-form-container {
    display: none;
}

.login-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-form-container h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

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

.remember-me input {
    accent-color: var(--accent-color);
}

.forgot-password {
    color: var(--accent-color);
    text-decoration: none;
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-light);
    font-size: 13px;
    position: relative;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 14px;
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: var(--accent-color);
    background: var(--bg-cream);
}

.google-btn {
    color: var(--text-dark);
}

.form-terms {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-medium);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
    accent-color: var(--accent-color);
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.back-to-login {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: transparent;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.back-to-login:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .login-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .login-section {
        padding: 100px 15px 40px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-left h2 {
        font-size: 1.4rem;
    }
}
