/* Authentication Styles */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-header h1 i {
    margin-right: 0.5rem;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.auth-header p {
    color: #666;
    margin-bottom: 0;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.auth-form label i {
    margin-right: 0.5rem;
    color: #007bff;
    width: 16px;
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: #666;
}

.auth-footer a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Alert Styles for Auth */
.auth-card .alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.auth-card .alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-card .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-card .alert i {
    font-size: 1rem;
}

/* Button Styles for Auth */
.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-form .btn i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-form input {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .auth-form .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Animation for form elements */
.auth-form .form-group {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states */
.auth-form input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

/* Loading state */
.auth-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-form .btn:disabled:hover {
    background-color: #007bff;
    transform: none;
}
