/* assets/css/auth.css - Halaman Auth (Login, Register, Forgot Password) */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.auth-header p {
    color: var(--text-secondary);
}
.auth-form .form-group {
    margin-bottom: 20px;
}
.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}
.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}
.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
}
.alert-success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.cf-turnstile {
    display: flex;
    justify-content: center;
}
body.dark .alert-error {
    background: #7f1d1d;
    color: #fca5a5;
    border-color: #991b1b;
}
body.dark .alert-success {
    background: #14532d;
    color: #86efac;
    border-color: #166534;
}