/* ============================================================
   Auto Inkoop Flow — Stylesheet
   ============================================================ */

:root {
    --ai-primary:       #1a1a2e;
    --ai-accent:        #e63946;
    --ai-accent-hover:  #c1121f;
    --ai-success:       #2d6a4f;
    --ai-success-bg:    #d8f3dc;
    --ai-warning:       #e76f51;
    --ai-warning-bg:    #fdf0eb;
    --ai-bg:            #f8f8f6;
    --ai-card-bg:       #ffffff;
    --ai-border:        #e4e4e0;
    --ai-text:          #1a1a2e;
    --ai-muted:         #6b7280;
    --ai-input-bg:      #fafaf9;
    --ai-radius:        12px;
    --ai-radius-sm:     8px;
    --ai-shadow:        0 2px 16px rgba(26,26,46,0.07);
    --ai-shadow-hover:  0 8px 32px rgba(26,26,46,0.13);
    --ai-font:          'DM Sans', system-ui, sans-serif;
    --ai-font-display:  'DM Serif Display', Georgia, serif;
    --ai-transition:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Serif+Display&display=swap');

/* ── Wrapper ─────────────────────────────────────────────── */
.ai-flow {
    font-family: var(--ai-font);
    color: var(--ai-text);
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px 80px;
    -webkit-font-smoothing: antialiased;
}

/* ── Progress ────────────────────────────────────────────── */
.ai-progress {
    padding: 28px 0 36px;
}

.ai-progress__bar {
    height: 3px;
    background: var(--ai-border);
    border-radius: 99px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ai-progress__fill {
    height: 100%;
    background: var(--ai-accent);
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.ai-progress__steps {
    display: flex;
    justify-content: space-between;
}

.ai-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    cursor: default;
}

.ai-progress__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--ai-border);
    background: var(--ai-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ai-muted);
    transition: all var(--ai-transition);
    position: relative;
}

.ai-progress__check {
    display: none;
    position: absolute;
}

.ai-progress__num {
    display: block;
}

.ai-progress__step.is-active .ai-progress__dot {
    border-color: var(--ai-accent);
    background: var(--ai-accent);
    color: white;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.15);
}

.ai-progress__step.is-done .ai-progress__dot {
    border-color: var(--ai-success);
    background: var(--ai-success);
    color: white;
}

.ai-progress__step.is-done .ai-progress__check { display: block; }
.ai-progress__step.is-done .ai-progress__num   { display: none; }

.ai-progress__label {
    font-size: 11px;
    color: var(--ai-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ai-progress__step.is-active .ai-progress__label {
    color: var(--ai-text);
    font-weight: 600;
}

@media (max-width: 480px) {
    .ai-progress__label { display: none; }
    .ai-progress__steps { gap: 0; }
}

/* ── Stap header ─────────────────────────────────────────── */
.ai-step__inner { display: flex; flex-direction: column; gap: 24px; }

.ai-step__header { display: flex; flex-direction: column; gap: 6px; }

.ai-step__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ai-accent);
}

.ai-step__title {
    font-family: var(--ai-font-display);
    font-size: 28px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
    color: var(--ai-text);
}

.ai-step__sub {
    font-size: 15px;
    color: var(--ai-muted);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ── Card ────────────────────────────────────────────────── */
.ai-card {
    background: var(--ai-card-bg);
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius);
    padding: 24px;
    box-shadow: var(--ai-shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Fields ──────────────────────────────────────────────── */
.ai-field { display: flex; flex-direction: column; gap: 6px; }

.ai-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-text);
    letter-spacing: 0.01em;
}

.ai-input {
    background: var(--ai-input-bg);
    border: 1.5px solid var(--ai-border);
    border-radius: var(--ai-radius-sm);
    padding: 11px 14px;
    font-family: var(--ai-font);
    font-size: 15px;
    color: var(--ai-text);
    outline: none;
    transition: border-color var(--ai-transition), box-shadow var(--ai-transition);
    width: 100%;
    box-sizing: border-box;
}

.ai-input:focus {
    border-color: var(--ai-accent);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.ai-input.is-valid {
    border-color: var(--ai-success);
}

.ai-input.is-error {
    border-color: var(--ai-accent);
}

/* Kenteken input */
.ai-input-wrap--kenteken {
    display: flex;
    align-items: center;
    background: var(--ai-input-bg);
    border: 1.5px solid var(--ai-border);
    border-radius: var(--ai-radius-sm);
    overflow: hidden;
    transition: border-color var(--ai-transition), box-shadow var(--ai-transition);
}

.ai-input-wrap--kenteken:focus-within {
    border-color: var(--ai-accent);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.ai-kenteken-nl {
    background: #003082;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 0 10px;
    height: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.ai-input--kenteken {
    border: none;
    background: transparent;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 17px;
    padding-left: 12px;
}

.ai-input--kenteken:focus {
    border: none;
    box-shadow: none;
}

.ai-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ai-field-row--adres {
    grid-template-columns: 2fr 1fr;
}

/* ── RDW result ──────────────────────────────────────────── */
.ai-rdw-result {
    background: #f0faf4;
    border: 1.5px solid #bbf7d0;
    border-radius: var(--ai-radius-sm);
    padding: 14px 16px;
}

.ai-rdw-result__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-rdw-result__icon { font-size: 24px; flex-shrink: 0; }

.ai-rdw-result__data { flex: 1; }

.ai-rdw-result__title {
    font-weight: 600;
    font-size: 15px;
    color: var(--ai-text);
}

.ai-rdw-result__meta {
    font-size: 13px;
    color: var(--ai-muted);
    margin-top: 2px;
}

.ai-rdw-result__badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.ai-rdw-result__badge--ok {
    background: var(--ai-success-bg);
    color: var(--ai-success);
}

.ai-rdw-result__badge--nok {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Adres preview ───────────────────────────────────────── */
.ai-adres-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f4ff;
    border: 1.5px solid #c7d2fe;
    border-radius: var(--ai-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #3730a3;
}

/* ── Toggle rows ─────────────────────────────────────────── */
.ai-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}

.ai-toggle-row__content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ai-toggle-row__icon { font-size: 22px; }

.ai-toggle-row__label {
    font-weight: 600;
    font-size: 15px;
}

.ai-toggle-row__desc {
    font-size: 13px;
    color: var(--ai-muted);
    margin-top: 2px;
}

.ai-toggle {
    display: flex;
    border: 1.5px solid var(--ai-border);
    border-radius: 99px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.ai-toggle__ja,
.ai-toggle__nee {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--ai-transition);
    user-select: none;
    color: var(--ai-muted);
}

.ai-toggle.is-ja .ai-toggle__ja {
    background: var(--ai-success);
    color: white;
}

.ai-toggle.is-nee .ai-toggle__nee {
    background: var(--ai-accent);
    color: white;
}

.ai-voorwaarde-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--ai-warning-bg);
    border: 1.5px solid #fdba74;
    border-radius: var(--ai-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    color: #9a3412;
    font-weight: 500;
}

/* ── Divider ─────────────────────────────────────────────── */
.ai-divider {
    height: 1px;
    background: var(--ai-border);
}

.ai-divider--label {
    height: auto;
    background: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ai-muted);
}

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

/* ── Upload zone ─────────────────────────────────────────── */
.ai-upload-zone {
    border: 2px dashed var(--ai-border);
    border-radius: var(--ai-radius);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--ai-transition);
    background: var(--ai-input-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ai-upload-zone:hover,
.ai-upload-zone.is-drag-over {
    border-color: var(--ai-accent);
    background: #fff5f5;
}

.ai-upload-zone__icon { font-size: 32px; }

.ai-upload-zone__title {
    font-weight: 600;
    font-size: 15px;
}

.ai-upload-zone__sub {
    font-size: 14px;
    color: var(--ai-muted);
}

.ai-upload-zone__formats {
    font-size: 12px;
    color: var(--ai-muted);
    margin-top: 4px;
}

/* Foto grid */
.ai-foto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 480px) {
    .ai-foto-grid { grid-template-columns: repeat(3, 1fr); }
}

.ai-foto-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--ai-border);
}

.ai-foto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ai-foto-thumb__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ai-foto-thumb__status {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.ai-upload-info {
    font-size: 13px;
    color: var(--ai-muted);
    text-align: center;
}

.ai-upload-info__uploading {
    color: var(--ai-accent);
}

/* ── Kalender / slots ────────────────────────────────────── */
.ai-slots-loading {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 32px; color: var(--ai-muted); font-size: 14px;
}
.ai-kalender { display: flex; flex-direction: column; gap: 0; user-select: none; }

/* Header navigatie */
.ai-kal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ai-kal-titel { font-size: 16px; font-weight: 700; color: var(--ai-text); text-align: center; }
.ai-kal-nav {
    width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--ai-border);
    background: white; font-size: 16px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all var(--ai-transition);
    color: var(--ai-text); font-family: var(--ai-font);
}
.ai-kal-nav:hover:not(:disabled) { border-color: var(--ai-accent); color: var(--ai-accent); }

/* Weekdag koppen */
/* Kalender container query support */
.ai-kalender { container-type: inline-size; container-name: kalender; }

.ai-kal-koppen { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.ai-kal-kop {
    text-align: center; font-size: clamp(9px, 1.5cqi, 11px); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--ai-muted); padding: 4px 0;
}

/* Grid */
.ai-kal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(2px, 0.8cqi, 4px); }

/* Dag cel */
.ai-kal-cel {
    min-height: clamp(48px, 10cqi, 80px);
    border-radius: clamp(4px, 1.2cqi, 8px);
    border: 1.5px solid var(--ai-border);
    background: white; padding: clamp(3px, 0.8cqi, 6px);
    display: flex; flex-direction: column; gap: clamp(2px, 0.5cqi, 4px);
    transition: border-color var(--ai-transition), box-shadow var(--ai-transition);
}
.ai-kal-cel--leeg { border-color: transparent; background: transparent; pointer-events: none; }
.ai-kal-cel--geblokkeerd { background: #f9f9f8; border-color: #ebebea; pointer-events: none; }
.ai-kal-cel--geblokkeerd .ai-kal-dagnr { color: #d1d5db; }
.ai-kal-cel.is-selected { border-color: var(--ai-accent); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }

/* Dag nummer */
.ai-kal-dagnr { font-size: clamp(10px, 1.8cqi, 13px); font-weight: 600; color: var(--ai-text); line-height: 1; }

/* Dagdeel knoppen */
.ai-kal-dagdelen { display: flex; flex-direction: column; gap: clamp(2px, 0.4cqi, 3px); flex: 1; justify-content: flex-end; }
.ai-kal-dagdeel-btn {
    width: 100%; padding: clamp(2px, 0.5cqi, 3px) clamp(2px, 0.8cqi, 6px);
    border-radius: clamp(3px, 0.8cqi, 5px); border: 1px solid transparent;
    font-family: var(--ai-font); font-size: clamp(8px, 1.4cqi, 10px); font-weight: 600; cursor: pointer;
    text-align: center; transition: all var(--ai-transition);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Beschikbare dag */
.ai-kal-cel--beschikbaar {
    cursor: pointer;
}
.ai-kal-cel--beschikbaar:hover {
    border-color: var(--ai-accent);
    background: #fff8f8;
}
.ai-kal-cel.is-actief {
    border-color: var(--ai-accent);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.ai-kal-cel.is-selected {
    border-color: var(--ai-accent);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
    background: #fff5f5;
}

/* Beschikbaarheid dots in cel */
.ai-kal-indicator {
    display: flex;
    gap: 3px;
    justify-content: flex-end;
    flex: 1;
    align-items: flex-end;
    padding-bottom: 2px;
}
.ai-kal-dot {
    width: clamp(5px, 1cqi, 7px);
    height: clamp(5px, 1cqi, 7px);
    border-radius: 50%;
    background: #16a34a;
    display: block;
}

/* Dagdeel picker */
.ai-dagdeel-picker {
    background: white;
    border: 1.5px solid var(--ai-border);
    border-radius: var(--ai-radius);
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(26,26,46,0.12);
    margin-top: 4px;
}
.ai-dagdeel-picker__titel {
    font-size: 14px;
    font-weight: 700;
    color: var(--ai-text);
    margin-bottom: 12px;
}
.ai-dagdeel-picker__opties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ai-dagdeel-picker__optie {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: var(--ai-radius-sm);
    border: 1.5px solid var(--ai-border);
    background: white;
    cursor: pointer;
    font-family: var(--ai-font);
    transition: all var(--ai-transition);
    gap: 4px;
}
.ai-dagdeel-picker__optie--vrij {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.ai-dagdeel-picker__optie--vrij:hover {
    border-color: #16a34a;
    background: #dcfce7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.15);
}
.ai-dagdeel-picker__optie--deels {
    border-color: #fed7aa;
    background: #fff7ed;
}
.ai-dagdeel-picker__optie--deels:hover {
    border-color: #f97316;
    background: #ffedd5;
    transform: translateY(-1px);
}
.ai-dagdeel-picker__optie.is-selected {
    border-color: var(--ai-accent);
    background: var(--ai-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230,57,70,0.3);
}
.ai-dagdeel-picker__label {
    font-size: 15px;
    font-weight: 700;
    color: inherit;
}
.ai-dagdeel-picker__tijd {
    font-size: 12px;
    font-weight: 500;
    color: var(--ai-muted);
    opacity: 0.8;
}
.ai-dagdeel-picker__optie.is-selected .ai-dagdeel-picker__tijd {
    color: rgba(255,255,255,0.8);
    opacity: 1;
}

/* Legenda */
.ai-slots-legende { display: flex; gap: 16px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.ai-legende-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ai-muted); }
.ai-legende-dot { width: 8px; height: 8px; border-radius: 50%; }
.ai-legende-dot--vrij  { background: #16a34a; }
.ai-legende-dot--deels { background: #f97316; }
.ai-legende-dot--vol   { background: #d1d5db; }

/* Geselecteerd slot */
.ai-geselecteerd-slot {
    display: flex; align-items: center; gap: 12px; background: #fff5f5;
    border: 1.5px solid #fca5a5; border-radius: var(--ai-radius-sm); padding: 14px 16px; margin-top: 12px;
}
.ai-geselecteerd-slot__icon { font-size: 20px; }
.ai-geselecteerd-slot__datum { font-weight: 600; font-size: 15px; }
.ai-geselecteerd-slot__dagdeel { font-size: 13px; color: var(--ai-muted); margin-top: 2px; }
.ai-geselecteerd-slot__wijzig {
    margin-left: auto; background: none; border: 1.5px solid var(--ai-accent);
    color: var(--ai-accent); padding: 5px 12px; border-radius: 99px;
    font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--ai-font);
    transition: all var(--ai-transition);
}
.ai-geselecteerd-slot__wijzig:hover { background: var(--ai-accent); color: white; }



/* ── Overzicht ───────────────────────────────────────────── */
.ai-card--overzicht {
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.ai-overzicht-sectie {
    padding: 18px 24px;
    border-bottom: 1px solid var(--ai-border);
}

.ai-overzicht-sectie:last-child { border-bottom: none; }

.ai-overzicht-sectie__titel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ai-muted);
    margin-bottom: 10px;
}

.ai-overzicht-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    font-size: 14px;
    gap: 16px;
}

.ai-overzicht-row span { color: var(--ai-muted); }
.ai-overzicht-row strong {
    color: var(--ai-text);
    text-align: right;
}

.ai-foto-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-foto-thumbs img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--ai-border);
}

/* ── Akkoord checkbox ────────────────────────────────────── */
.ai-akkoord { padding: 4px 0; }

.ai-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ai-muted);
}

.ai-checkbox-label input { display: none; }

.ai-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--ai-border);
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ai-transition);
}

.ai-checkbox-label input:checked ~ .ai-checkbox-custom {
    background: var(--ai-accent);
    border-color: var(--ai-accent);
}

.ai-checkbox-label input:checked ~ .ai-checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.ai-checkbox-label a { color: var(--ai-accent); }

/* ── Buttons ─────────────────────────────────────────────── */
.ai-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--ai-radius-sm);
    font-family: var(--ai-font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--ai-transition);
    text-decoration: none;
    line-height: 1;
}

.ai-btn--primary {
    background: var(--ai-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(230,57,70,0.25);
}

.ai-btn--primary:hover:not(:disabled) {
    background: var(--ai-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230,57,70,0.35);
}

.ai-btn--primary:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.ai-btn--ghost {
    background: transparent;
    color: var(--ai-muted);
    border: 1.5px solid var(--ai-border);
}

.ai-btn--ghost:hover {
    border-color: var(--ai-text);
    color: var(--ai-text);
}

.ai-btn__arrow {
    transition: transform var(--ai-transition);
}

.ai-btn--primary:hover:not(:disabled) .ai-btn__arrow {
    transform: translateX(3px);
}

.ai-btn--submit {
    min-width: 180px;
    justify-content: center;
}

/* ── Error ───────────────────────────────────────────────── */
.ai-error {
    background: #fee2e2;
    border: 1.5px solid #fca5a5;
    border-radius: var(--ai-radius-sm);
    padding: 11px 14px;
    font-size: 13px;
    color: #991b1b;
    font-weight: 500;
}

/* ── Spinner ─────────────────────────────────────────────── */
.ai-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(26,26,46,0.1);
    border-top-color: var(--ai-accent);
    border-radius: 50%;
    animation: ai-spin 0.7s linear infinite;
    display: inline-block;
}

.ai-spinner--small {
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-top-color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.3);
    border-top-color: white;
}

@keyframes ai-spin {
    to { transform: rotate(360deg); }
}

/* ── Bevestiging ─────────────────────────────────────────── */
.ai-bevestiging {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-bevestiging__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 440px;
}

.ai-bevestiging__check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ai-success-bg);
    color: var(--ai-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    border: 2.5px solid #6ee7b7;
}

.ai-bevestiging__titel {
    font-family: var(--ai-font-display);
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    color: var(--ai-text);
}

.ai-bevestiging__tekst {
    font-size: 15px;
    color: var(--ai-muted);
    line-height: 1.6;
    margin: 0;
}

.ai-bevestiging__details {
    background: var(--ai-card-bg);
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: var(--ai-muted);
}

.ai-bevestiging__details strong {
    color: var(--ai-text);
}
