/* Authentication Pages Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background:
        radial-gradient(circle at top right,
            rgba(255,255,255,.12),
            transparent 35%),
        linear-gradient(
            135deg,
            #0B3D91 0%,
            #1565C0 45%,
            #42A5F5 100%
        );

    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.auth-card .auth-header h1 { color: #fff; }
.auth-card .auth-header p { color: rgba(255,255,255,0.75); }
.auth-card .form-group label { color: rgba(255,255,255,0.9); }
.auth-card .form-group input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; }
.auth-card .form-group input::placeholder { color: rgba(255,255,255,0.45); }
.auth-card .form-group input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.25); }
.auth-card .error-text { color: #fca5a5; }
.auth-card .auth-footer { border-top-color: rgba(255,255,255,0.15); }
.auth-card .auth-footer p { color: rgba(255,255,255,0.65); }
.auth-card .auth-footer a { color: #93c5fd; }
.auth-card .alert-error { background: rgba(239,68,68,0.2); color: #fca5a5; border-color: rgba(239,68,68,0.35); }
.auth-card .alert-success { background: rgba(34,197,94,0.2); color: #86efac; border-color: rgba(34,197,94,0.35); }

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: #64748b;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.25s;
    outline: none;
}

.form-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group.has-error input {
    border-color: #ef4444;
}

.error-text {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-success a {
    color: #16a34a;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 24px;
    }

    .auth-header h1 {
        font-size: 20px;
    }
}
