/* Login Page Styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-wrapper {
    width: 100%;
    max-width: 460px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem 2.5rem;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #1a202c;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 0;
}

.login-form .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.login-form .form-control {
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f7fafc;
}

.login-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
    outline: none;
}

.login-form .form-control::placeholder {
    color: #a0aec0;
}

.alert-custom {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.2);
}

.alert-custom ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.alert-custom li {
    color: #ffffff;
    font-weight: 500;
}

.btn-login {
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.login-divider span {
    background: #ffffff;
    padding: 0 1rem;
    color: #a0aec0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.register-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: #718096;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .login-header h1 {
        font-size: 1.75rem;
    }
    
    .login-form .form-control,
    .btn-login {
        height: 46px;
    }
}

/* Animation for error messages */
.alert-custom {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}
