/* ============================================================ */
/* AUTH / LOGIN STYLES */
/* ============================================================ */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.login-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.login-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
    display: block;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    border-radius: 6px;
    border: none;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.input-group-text {
    background: white;
    border: 2px solid #e0e0e0;
    color: #667eea;
    border-radius: 6px 0 0 6px;
}

.input-group .form-control {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.loading-spinner {
    display: none;
    margin-right: 8px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}
