/* Shared look of the customer pages in bestel (.ac-order): index, success, login, register, account, uitschrijven.
   Load order on every page: ac-tokens.css, ac-base.css, then the page file (ac-order-form.css, ac-success.css or ac-account.css).
   Only rules that are the same on all those pages live here; page differences are in the page files. 2026-11-23 */
.ac-order {
  color: var(--ac-ink);
  background: #F4F6F9;
  padding: 7.5rem 16px 4rem;
  text-align: left;
}
.ac-order * { box-sizing: border-box; }
.ac-order p { margin: 0; }
.ac-order a { color: var(--ac-green-dark); }
.ac-order a:hover { color: var(--ac-green-darker); }
.ac-test-banner { background: #FFF6E8; color: #6B4100; border: 1px solid #F3D9A8; border-radius: 12px; padding: 10px 16px; font-size: 14px; }

/* Page title */
.ac-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-green-dark); }
.ac-hero h1 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.ac-hero p { font-size: 17px; line-height: 1.55; color: var(--ac-muted); max-width: 620px; }
@media (max-width: 575px) { .ac-hero h1 { font-size: 32px; } }

/* Cards */
.ac-card-head { display: flex; align-items: center; gap: 12px; }
.ac-card-head .ac-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: var(--ac-blue-tint); color: var(--ac-blue); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ac-intro { font-size: 14.5px; line-height: 1.5; color: var(--ac-muted); }

/* Fields */
.ac-row { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.ac-field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.ac-row > .ac-field { flex: 1 1 240px; }
.ac-row > .ac-w-small { flex: 1 1 140px; }
.ac-row > .ac-w-large { flex: 3 1 260px; }
.ac-label .req { color: #B4461B; }
.ac-label .opt { font-weight: 400; color: var(--ac-faint); }
.ac-group-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ac-faint); }
.ac-order .ac-input { height: 46px; padding: 0 14px; border: 1px solid var(--ac-field); border-radius: 10px; font-size: 15px; color: var(--ac-ink); background-color: #fff; }
.ac-order .ac-input:focus { border-color: var(--ac-green-dark); box-shadow: 0 0 0 3px rgba(30,127,92,.2); }
.ac-order .form-text { margin: 0; }
.ac-order .text-warning { color: var(--ac-price) !important; }
.ac-small { font-size: 13px; line-height: 1.5; color: var(--ac-faint); }

/* Company switch and checkbox */
.ac-company { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #F7F9FB; border: 1px solid var(--ac-line); }
.ac-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; cursor: pointer; min-height: 28px; }
.ac-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-switch-track { position: relative; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 999px; background: #A0AAB7; transition: background .15s; }
.ac-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; transition: left .15s; }
.ac-switch input:checked + .ac-switch-track { background: var(--ac-green-dark); }
.ac-switch input:checked + .ac-switch-track::after { left: 21px; }
.ac-switch input:focus-visible + .ac-switch-track { box-shadow: 0 0 0 3px rgba(30,127,92,.3); }
.ac-switch strong { font-size: 15px; }
.ac-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ac-green-dark); flex: 0 0 auto; }

/* Buttons (the base .ac-btn size differs per page, see the page files) */
.ac-btn-primary { background: var(--ac-green-dark); color: #fff !important; }
.ac-btn-primary:hover { background: var(--ac-green-darker); }

/* Messages (the base .ac-note differs per page) */
.ac-note-ok { background: var(--ac-green-tint); color: #14553D; }
.ac-note-warn { background: #FFF6E8; color: #6B4100; }

/* Centered done state */
.ac-done { align-items: center; text-align: center; }
