/* login.css - User login page styles */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--black);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(244, 208, 63, 0.05) 100%);
    pointer-events: none;
}

.auth-card {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-golden);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--primary-golden);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 8px;
    color: var(--white);
    padding: 1rem 0.75rem;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-golden);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-floating > .form-control::placeholder {
    color: transparent;
}

.form-floating > label {
    color: var(--gray-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-golden);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-check {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 4px;
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--primary-golden);
    border-color: var(--primary-golden);
}

.form-check-input:focus {
    border-color: var(--primary-golden);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-check-label {
    color: var(--white);
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.forgot-password {
    color: var(--primary-golden);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--secondary-golden);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--primary-golden), var(--secondary-golden));
    color: var(--black);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--secondary-golden), var(--primary-golden));
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-login:focus {
    color: var(--black);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.5);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
}

.auth-divider span {
    background: rgba(0, 0, 0, 0.9);
    color: var(--gray-light);
    padding: 0 1rem;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid #333;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: var(--primary-golden);
    background: rgba(212, 175, 55, 0.1);
    color: var(--white);
    text-decoration: none;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 1.5rem;
}

.auth-footer p {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.auth-footer a {
    color: var(--primary-golden);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--secondary-golden);
    text-decoration: underline;
}

.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.alert-info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid #17a2b8;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
        margin: 1rem;
        border-radius: 10px;
    }
    
    .auth-header h2 {
        font-size: 1.8rem;
    }
    
    .form-floating > .form-control {
        font-size: 0.95rem;
    }
    
    .btn-login {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-container {
        min-height: 90vh;
        padding: 1rem 0;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.6rem;
    }
    
    .form-check {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}