/* Applicant Quiz forms. Scoped to .aq-wrap so the theme is not affected. */
.aq-wrap { --aq-accent: #0b6e75; --aq-accent-2: #0a2a5c; --aq-field: #ffffff; --aq-border: #b9c4d4; --aq-text: #14213d; --aq-error: #c62828; color: var(--aq-text); font-size: 15px; }
.aq-wrap * { box-sizing: border-box; }
.aq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.aq-field { display: flex; flex-direction: column; min-width: 0; }
.aq-field[hidden] { display: none; }
.aq-full { grid-column: 1 / -1; }
.aq-label { font-weight: 600; margin-bottom: 8px; }
.aq-wrap .aq-req { display: inline !important; float: none !important; width: auto !important; margin: 0 !important; color: var(--aq-error); }
.aq-wrap .aq-label { display: block; }
.aq-wrap input[type="text"], .aq-wrap input[type="email"], .aq-wrap input[type="tel"], .aq-wrap input[type="date"], .aq-wrap select, .aq-wrap textarea {
	width: 100% !important; padding: 13px 16px !important; background: var(--aq-field) !important; border: 1px solid var(--aq-border) !important; border-radius: 6px !important;
	box-shadow: 0 1px 2px rgba(20, 33, 61, .06); font: inherit; color: var(--aq-text) !important; min-height: 48px; }
.aq-wrap input::placeholder, .aq-wrap textarea::placeholder { color: #8a94a6; opacity: 1; }
.aq-wrap input:focus, .aq-wrap select:focus, .aq-wrap textarea:focus { outline: 2px solid var(--aq-accent); outline-offset: 1px; }
.aq-wrap input[type="file"] { width: 100%; padding: 10px 12px; background: var(--aq-field); border: 1px dashed var(--aq-border); border-radius: 6px; }
.aq-hint { color: #6b7280; margin-top: 4px; }
.aq-radios { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 6px; }
.aq-wrap .aq-check { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; line-height: 1.5; }
.aq-wrap .aq-check input[type="checkbox"], .aq-wrap .aq-check input[type="radio"] { flex: 0 0 18px; width: 18px !important; height: 18px !important; min-height: 0; margin: 2px 0 0 !important; padding: 0 !important; accent-color: var(--aq-accent); }
.aq-wrap .aq-check > span { display: block; flex: 1 1 auto; min-width: 0; width: auto !important; }
.aq-wrap .aq-check > span span, .aq-wrap .aq-check a { display: inline !important; float: none !important; width: auto !important; }
.aq-err { color: var(--aq-error); font-size: 13px; min-height: 0; margin-top: 4px; }
.aq-invalid input, .aq-invalid select, .aq-invalid textarea { border-color: var(--aq-error); }
.aq-question.aq-invalid { border-color: var(--aq-error); }
.aq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aq-button { margin-top: 22px; padding: 14px 30px; border: 0; border-radius: 8px; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
	background: linear-gradient(90deg, var(--aq-accent), var(--aq-accent-2)); }
.aq-button:disabled { opacity: .6; cursor: wait; }
.aq-message { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #eef6f6; }
.aq-message-error { background: #fdecea; color: var(--aq-error); }
.aq-done { padding: 24px; border-radius: 8px; background: #eef6f6; font-size: 17px; font-weight: 600; text-align: center; }
.aq-quiz-title { margin: 0 0 6px; }
.aq-quiz-intro { margin: 0 0 18px; color: #4b5563; }
.aq-question { border: 1px solid var(--aq-border); border-radius: 8px; padding: 14px 18px 10px; margin: 0 0 14px; background: #fff; }
.aq-question legend { font-weight: 600; padding: 0 6px; }
.aq-question .aq-check { padding: 6px 0; }
@media (max-width: 700px) { .aq-grid { grid-template-columns: 1fr; } .aq-button { width: 100%; } }
