/* Modern Authentication Pages Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    text-decoration: none;
}

.auth-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #718096;
    font-size: 1rem;
    font-weight: 400;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-floating .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: rgba(255, 255, 255, 1);
}

.form-floating label {
    color: #718096;
    font-weight: 500;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    color: #a0aec0;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
}

.validation-errors {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #c53030;
    font-size: 0.9rem;
}

.text-danger {
    color: #e53e3e !important;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Responsive design */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-logo {
        font-size: 2rem;
    }
}

/* Animation for form elements */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-card {
    animation: slideInUp 0.6s ease-out;
}

.form-floating:nth-child(1) { animation-delay: 0.1s; }
.form-floating:nth-child(2) { animation-delay: 0.2s; }
.form-floating:nth-child(3) { animation-delay: 0.3s; }
.auth-btn { animation-delay: 0.4s; }
.auth-links { animation-delay: 0.5s; }

.form-floating,
.auth-btn,
.auth-links {
    animation: slideInUp 0.6s ease-out both;
}

/* Hide external provider section if not needed */
.external-providers {
    display: none;
}

/* Navigation improvements */
.navbar-brand {
    font-weight: 700;
    color: #667eea !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea !important;
}