/* =========================================
 * AUTH PAGES CSS - BEÍRVA.HU
 * Clean Light Style matching Admin Panel
 * Font: Inter | Icons: Phosphor
 * ========================================= */

:root {
    /* --- COLORS --- */
    --bg-body: #f3f4f6;
    --bg-card: #ffffff;

    /* Text */
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-secondary: #4b5563;

    /* Brand */
    --brand-yellow: #fcb900;
    --brand-yellow-hover: #e0a600;
    --brand-text-on-yellow: #111827;

    /* Status Colors */
    --success: #22c55e;
    --danger: #ef4444;

    /* UI Elements */
    --border-color: #e5e7eb;
    --radius-card: 16px;
    --radius-input: 10px;
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* --- GLOBAL RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* --- AUTH CONTAINER --- */
.auth-container {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.auth-container.wide {
    max-width: 480px;
}

/* --- LOGO --- */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    color: var(--brand-yellow);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* --- FORM ELEMENTS --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(252, 185, 0, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* --- FORM ROW (two columns) --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-input);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    width: 100%;
    background: var(--brand-yellow);
    color: var(--brand-text-on-yellow);
}

.btn-primary:hover {
    background: var(--brand-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 185, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-yellow);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(252, 185, 0, 0.08);
    border-color: var(--brand-yellow);
}

/* --- MESSAGES --- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-input);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.alert-info {
    background: rgba(252, 185, 0, 0.1);
    border: 1px solid rgba(252, 185, 0, 0.2);
    color: var(--text-main);
}

/* --- LINKS --- */
.auth-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.auth-links p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-links a {
    color: var(--brand-yellow);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: var(--brand-yellow-hover);
    text-decoration: underline;
}

/* --- DIVIDER --- */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- PASSWORD REQUIREMENTS --- */
.password-requirements {
    background: #f9fafb;
    border-radius: var(--radius-input);
    padding: 12px 16px;
    margin-top: 12px;
}

.password-requirements p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
}

.password-requirements li {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-requirements li::before {
    content: '•';
    color: var(--border-color);
}

.password-requirements li.valid {
    color: var(--success);
}

.password-requirements li.valid::before {
    content: '✓';
    color: var(--success);
}

/* --- HELPER TEXT --- */
.helper-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 6px;
}

/* --- FORGOT PASSWORD LINK --- */
.forgot-password-link {
    display: block;
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
}

.forgot-password-link a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password-link a:hover {
    color: var(--brand-yellow);
}

/* --- SUCCESS PAGE --- */
.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 32px;
    color: var(--success);
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .auth-container {
        padding: 28px 24px;
    }
    
    .auth-logo h1 {
        font-size: 1.5rem;
    }
}
/* --- CHECKBOX GROUP --- */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-yellow);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}