/* Additions for the framework-free build. Base styles live in site.css (unchanged from the previous site). */
[hidden] { display: none !important; }

/* language dropdown */
.lang-dropdown { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; display: flex; flex-direction: column; }
.lang-dropdown a { display: flex; align-items: center; color: var(--text); text-decoration: none; }
.lang-dropdown a:hover, .lang-dropdown a:focus-visible { background: var(--muted, #f3f1ec); outline: none; }
.lang-dropdown a[aria-current=true] { font-weight: 600; }

/* native selects keep the look of the former custom selects */
.field select.native-select { appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit; font-size: 16px; line-height: 1.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
[dir=rtl] .field select.native-select { background-position: left 14px center; }
.field [aria-invalid=true] { border-color: var(--destructive); }

/* accordion chevron */
[data-slot=accordion-trigger] { cursor: pointer; }
[data-slot=accordion-trigger] svg { transition: transform .2s; }
[data-slot=accordion-trigger][aria-expanded=true] svg { transform: rotate(180deg); }
[data-slot=accordion-content] { padding-bottom: 18px; }

/* guided mode */
.guided-progress { margin: 8px 0 20px; font-size: 14px; color: var(--muted-foreground, #6b6b6b); }
.guided-track { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 18%, transparent); overflow: hidden; margin-top: 6px; }
.guided-bar { height: 100%; background: var(--primary); transition: width .2s; }
.guided-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* review + receipt */
.intake-review h2 { outline: none; }
.checkbox-line input[type=checkbox] { flex-shrink: 0; width: 20px; height: 20px; margin-top: 5px; accent-color: var(--primary); }
.intake-status { margin: 12px 0; font-size: 15px; }
.intake-receipt { padding: 8px 0 20px; }
.intake-receipt h2 { outline: none; }
.receipt-ref { margin-top: 18px; font-size: 16px; }
.receipt-ref strong { font-size: 20px; letter-spacing: .02em; margin-inline-start: 8px; }
