/* Account pages: login, register, account, uitschrijven (on top of ac-tokens.css + ac-base.css). 2026-11-23 */
.ac-wrap { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.ac-wrap-narrow { max-width: 960px; }

/* Page title */
.ac-hero { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; justify-content: space-between; }
.ac-hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ac-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Two columns: content + side panel; stacks on small screens */
.ac-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ac-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ac-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.ac-card { background: #fff; border: 1px solid var(--ac-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.ac-card h2 { margin: 0; font-size: 20px; font-weight: 700; }
.ac-side-card { background: #fff; border: 1px solid var(--ac-line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ac-muted); }
.ac-side-card h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ac-ink); }
.ac-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ac-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.ac-benefits i { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: var(--ac-blue-tint); color: var(--ac-blue); font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: -2px; }
@media (max-width: 575px) { .ac-card { padding: 22px 16px; } }

/* Fields, switch and checkbox */
.ac-label { font-size: 14px; font-weight: 600; color: var(--ac-ink); display: flex; justify-content: space-between; gap: 8px; }
.ac-switch .ac-hint { font-size: 14px; color: var(--ac-faint); }
.ac-check { display: flex; gap: 12px; align-items: flex-start; margin: 0; cursor: pointer; font-size: 14.5px; line-height: 1.5; color: var(--ac-muted); }
.was-validated .ac-check input:invalid + span { color: #B42318; }

/* Buttons */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15.5px; font-weight: 600; text-decoration: none !important; border: 0; cursor: pointer; }
.ac-btn-primary:disabled { opacity: .6; cursor: default; }
.ac-btn-soft { background: var(--ac-green-tint); color: var(--ac-green-dark) !important; }
.ac-btn-soft:hover { background: #D5EFE3; }
.ac-btn-ghost { background: #fff; color: var(--ac-ink) !important; border: 1px solid var(--ac-field); }
.ac-btn-ghost:hover { border-color: var(--ac-green); }
.ac-btn-warn { background: #9A5B00; color: #fff !important; }
.ac-btn-warn:hover { background: #7D4A00; }
.ac-btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.ac-btn-block { width: 100%; min-height: 52px; font-size: 16.5px; font-weight: 700; }

/* Messages */
.ac-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.ac-note i { margin-top: 3px; }
.ac-note a { color: inherit !important; font-weight: 600; }
.ac-note-error { background: #FDECEC; color: #8A1C1C; }
.ac-note:empty { display: none; }

/* Divider with text */
.ac-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ac-faint); }
.ac-or::before, .ac-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ac-line); }

/* Centered done state */
.ac-done-icon { width: 72px; height: 72px; border-radius: 999px; background: var(--ac-green-tint); color: var(--ac-green-dark); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.ac-done h2 { font-size: 26px; }
.ac-done p { font-size: 16px; line-height: 1.55; color: var(--ac-muted); max-width: 480px; }

/* Order list (account) */
.ac-orders { display: flex; flex-direction: column; gap: 12px; }
.ac-order-item { border: 1px solid var(--ac-line); border-radius: 14px; background: #fff; }
.ac-order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 18px; }
.ac-order-main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ac-order-main strong { font-size: 16px; }
.ac-order-main span { font-size: 14px; color: var(--ac-muted); }
.ac-order-price { flex: 0 0 auto; font-size: 16px; font-weight: 700; min-width: 90px; text-align: right; }
.ac-order-price.is-empty { font-weight: 400; color: var(--ac-faint); font-size: 14px; }
.ac-order-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ac-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ac-status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.ac-status-light { background: #EEF1F5; color: #4F5B6B; }
.ac-status-warning { background: #FFF1DB; color: #8A4B00; }
.ac-status-info { background: var(--ac-blue-tint); color: #2F6699; }
.ac-status-success { background: var(--ac-green-tint); color: #14553D; }
.ac-status-secondary { background: #F1F2F4; color: #5B6675; }
.ac-details-btn { border: 0; background: none; min-height: 40px; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--ac-green-dark); cursor: pointer; border-radius: 8px; }
.ac-details-btn:hover { background: var(--ac-green-soft); }
.ac-details-btn i { transition: transform .15s; }
.ac-details-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.ac-order-specs { border-top: 1px solid var(--ac-line); background: #F7F9FB; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; border-radius: 0 0 14px 14px; }
.ac-order-specs div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ac-order-specs span { color: var(--ac-muted); }
.ac-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 28px 12px; color: var(--ac-muted); font-size: 15px; line-height: 1.5; }
.ac-empty i { font-size: 34px; color: var(--ac-blue); }
.ac-dl { display: flex; flex-direction: column; gap: 2px; color: var(--ac-ink); font-size: 14.5px; }
