/* Authentication Pages Styles */

.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.btn-social:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-google {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-google:hover {
    background: #ea4335;
    color: white;
}

.btn-google i {
    font-size: 1.2rem;
}

/* Navbar auth buttons */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#auth-buttons-guest .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

#auth-buttons-guest .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

#auth-buttons-guest .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#auth-buttons-guest .btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
}

#auth-buttons-guest .btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.navbar-auth .dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    font-weight: 500;
}

.navbar-auth .dropdown-toggle:hover {
    background: var(--bg-light);
    border-radius: 50px;
}

.navbar-auth .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.navbar-auth .dropdown-menu {
    min-width: 220px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.navbar-auth .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.navbar-auth .dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(4px);
}

.navbar-auth .dropdown-item i {
    width: 20px;
    font-size: 1.1rem;
}

.navbar-auth .dropdown-divider {
    margin: 0.5rem 0;
}

/* Alert styles */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-danger {
    background: #fee;
    color: #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
}

.alert-info {
    background: #eef;
    color: #33c;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-section {
        padding: 2rem 0;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
