/* AVG Generator – Wizard styles (scoped onder .avg-generator) */
.avg-generator { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; max-width: 780px; color: #111; font-size: 1rem; line-height: 1.6; }
.avg-hidden { display: none !important; }

/* Progress */
.avg-progress-wrap { background: #e9ecef; border-radius: 99px; height: 6px; margin-bottom: .5em; overflow: hidden; }
.avg-progress-bar  { background: #111; height: 100%; border-radius: 99px; transition: width .4s ease; }
.avg-progress-label { display: flex; justify-content: space-between; font-size: .82em; color: #6b7280; margin-bottom: 1.5em; }

/* Taalknopjes */
.avg-lang-bar  { display: flex; align-items: center; gap: .5em; margin-bottom: 1.5em; }
.avg-lang-label { font-size: .9em; color: #555; }
.avg-lang-btn  { padding: .25em .8em; border: 1.5px solid #ccc; border-radius: 20px; background: #fff; font-size: .85em; font-weight: 600; cursor: pointer; transition: all .15s; }
.avg-lang-btn.active { background: #111; color: #fff; border-color: #111; }

/* Formuliervelden */
.avg-fields  { display: flex; flex-direction: column; gap: .9em; margin-bottom: 1em; }
.avg-field label { display: block; font-weight: 600; font-size: .88em; margin-bottom: .3em; }
.avg-req { color: #e11d48; }
.avg-field input { width: 100%; padding: .55em .8em; border: 1.5px solid #d1d5db; border-radius: 7px; font-size: .97em; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.avg-field input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.avg-field input.avg-error { border-color: #e11d48; }

/* E-mail noot */
.avg-email-note { display: flex; align-items: center; gap: .5em; font-size: .82em; color: #6b7280; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 7px; padding: .6em .9em; margin-bottom: 1.2em; }

/* Secties */
.avg-step-title { font-size: 1.25em; font-weight: 700; margin-bottom: .4em; }
.avg-hint { font-size: .87em; color: #555; margin-bottom: 1em; }
.avg-sections { display: flex; flex-direction: column; gap: .45em; margin-bottom: 1.2em; }
.avg-section-row { display: flex; align-items: flex-start; gap: .75em; padding: .7em .9em; border: 1.5px solid #e5e7eb; border-radius: 9px; cursor: pointer; transition: background .12s; }
.avg-section-row:hover { background: #f8fafc; }
.avg-section-row.avg-required { background: #f0f6ff; border-color: #c7d9f7; }
.avg-section-row input[type=checkbox] { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: #111; cursor: pointer; }
.avg-section-info { display: flex; flex-direction: column; gap: .15em; }
.avg-section-info strong { font-size: .93em; }
.avg-section-desc { font-size: .8em; color: #6b7280; }
.avg-badge { font-size: .72em; background: #dbeafe; color: #1d4ed8; padding: .1em .5em; border-radius: 20px; font-style: normal; font-weight: 700; width: fit-content; margin-left: .3em; }

/* Live preview */
.avg-preview-details { margin-bottom: 1.2em; border: 1px solid #e5e7eb; border-radius: 9px; padding: .7em 1em; background: #fafafa; }
.avg-preview-details summary { cursor: pointer; font-size: .9em; font-weight: 600; color: #374151; list-style: none; }
.avg-preview-details summary::-webkit-details-marker { display: none; }
.avg-preview-content { margin-top: 1em; max-height: 350px; overflow-y: auto; font-size: .85em; }
.avg-preview-loading { color: #9ca3af; font-size: .9em; padding: .5em 0; }
.avg-preview-doc { pointer-events: none; }

/* Navigatie & toolbar */
.avg-nav     { display: flex; gap: .6em; flex-wrap: wrap; margin-top: 1em; }
.avg-toolbar { display: flex; gap: .6em; flex-wrap: wrap; margin-bottom: 1.2em; }

/* Knoppen */
.avg-btn { padding: .6em 1.4em; border: none; border-radius: 8px; font-size: .93em; font-weight: 600; cursor: pointer; transition: opacity .15s, transform .1s; white-space: nowrap; }
.avg-btn:hover { opacity: .88; }
.avg-btn:active { transform: scale(.97); }
.avg-btn:disabled { opacity: .5; cursor: not-allowed; }
.avg-btn-primary   { background: #111; color: #fff; }
.avg-btn-secondary { background: #f1f5f9; color: #111; border: 1.5px solid #d1d5db; }
.avg-btn-export    { background: #f1f5f9; color: #111; border: 1.5px solid #d1d5db; font-size: .88em; }
.avg-btn-docx      { background: #1a56db; color: #fff; border-color: #1a56db; }
.avg-btn-pdf       { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Output / document */
.avg-output { background: #fafafa; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 2em 2.2em; line-height: 1.8; }
.avg-document h1 { font-size: 1.4em; margin-bottom: .2em; }
.avg-document h2 { font-size: 1.05em; font-weight: 700; margin-top: 1.5em; margin-bottom: .35em; }
.avg-document p  { margin: .4em 0; }
.avg-document hr, .avg-divider { border: none; border-top: 1px solid #e5e7eb; margin: 1.4em 0; }
.avg-doc-meta    { color: #9ca3af; font-size: .82em !important; margin-bottom: .8em !important; }
.avg-doc-intro   { font-style: italic; color: #374151; }
.avg-doc-outro   { font-size: .9em; color: #4b5563; }
.avg-section-body p { margin: .3em 0; }

@media (max-width: 600px) {
    .avg-output { padding: 1.2em; }
    .avg-toolbar { gap: .4em; }
    .avg-btn { padding: .55em 1em; font-size: .85em; }
}
