.rh-demo-form-block { color: #153e25; }
.rh-demo-form-block .volunteer-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rh-demo-form-block .form-field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.rh-demo-form-block .form-wide { grid-column: 1 / -1; }
.rh-demo-form-block .form-field input,
.rh-demo-form-block .form-field select,
.rh-demo-form-block .form-field textarea { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid #a9b6ad; border-radius: 12px; background: #fff; color: #153e25; }
.rh-demo-form-block .rhv-consent input { width: auto; display: inline-block; margin-right: 8px; }
.rh-demo-form-block [hidden] { display: none !important; }
.rh-demo-form-block .rhv-state-field { position: relative; align-content: start; }
.rh-demo-form-block .rhv-state-search { position: relative; }
.rh-demo-form-block .rhv-state-search input { padding-right: 88px; }
.rh-demo-form-block .rhv-state-clear { position: absolute; right: 46px; top: 4px; bottom: 4px; width: 36px; border: 0; border-radius: 9px; background: transparent; color: #153e25; font: inherit; font-size: 1.3em; cursor: pointer; }
.rh-demo-form-block .rhv-state-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; border: 0; border-radius: 9px; background: #edf5ef; color: #153e25; font: inherit; cursor: pointer; }
.rh-demo-form-block .rhv-state-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 10; padding: 6px; background: #fff; border: 1px solid #a9b6ad; border-radius: 14px; box-shadow: 0 12px 30px #153e2526; }
.rh-demo-form-block .rhv-state-options { max-height: 230px; overflow-y: auto; overscroll-behavior: contain; }
.rh-demo-form-block [data-rh-state] { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.rh-demo-form-block [data-rh-state]:hover,
.rh-demo-form-block [data-rh-state].is-active { background: #edf5ef; color: #153e25; }
.rh-demo-form-block .rhv-state-empty { margin: 10px; font-size: .9em; }
.rh-demo-form-block .rhv-state-clear:hover { background: #ff67281a; }
.rh-demo-form-block .rhv-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh-demo-form-block .form-help { font-size: .9em; }
.rh-demo-form-block .btn { border: 0; border-radius: 12px; background: #153e25; color: #fff; padding: 14px 20px; font: inherit; cursor: pointer; }
.rh-demo-form-block .btn:disabled { opacity: .65; cursor: wait; }
.rh-demo-form-block :focus-visible { outline: 3px solid #ff6728; outline-offset: 3px; }
.rh-demo-form-block .success-dialog { position: fixed; inset: 0; margin: auto; width: min(440px, calc(100vw - 32px)); height: fit-content; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; color: #153e25; background: #fff; border: 0; border-radius: 22px; padding: 28px; max-width: min(440px, calc(100vw - 32px)); box-sizing: border-box; }
.rh-demo-form-block .success-dialog::backdrop { background: #153e2580; }
@media (max-width: 600px) { .rh-demo-form-block .volunteer-form { grid-template-columns: minmax(0, 1fr); } }
.rhv-extended [hidden] { display:none!important; }
.rhv-extended .tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; background:#f7f9f8; padding:5px; border-radius:14px; margin-bottom:24px; }
.rhv-extended .tabs button { font:inherit; border:0; padding:12px 8px; border-radius:10px; cursor:pointer; background:transparent; color:#153e25; }
.rhv-extended .tabs [aria-selected=true] { background:#fff; box-shadow:0 2px 8px #0001; font-weight:700; }
.rhv-extended .rhv-help { border:0; padding:0; min-width:0; }
.rhv-extended .checks { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.rhv-extended .checks label { display:flex; align-items:center; gap:8px; padding:10px; border:1px solid #dce6d9; border-radius:10px; }
.rhv-extended .checks input { width:auto; }
.rh-demo-form-block .success-dialog form { display:block; margin-top:18px; }
@media(max-width:600px){.rhv-extended .checks{grid-template-columns:1fr}}
/* Searchable dependent location fields share the single-state picker. */
.rhv-state-search input:disabled,.rhv-state-toggle:disabled{opacity:.55;cursor:not-allowed;background:#edf1ed}
.rhv-location-retry{border:1px solid #2d754c;background:#fff;color:#205e3d;border-radius:12px;padding:12px 18px;cursor:pointer}
.rhv-identity-switch{display:flex!important;align-items:center;gap:10px;font-size:.9rem;margin-top:10px;font-weight:400!important}
.rhv-identity-switch input{width:auto!important;min-width:22px;height:22px;accent-color:#2d754c}
.rhv-admin-locations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.rhv-admin-locations .form-wide{grid-column:1/-1}
@media(max-width:600px){.rhv-admin-locations{grid-template-columns:1fr}}
.rhv-identity-switch input[role="switch"]{appearance:none;width:42px!important;min-width:42px;height:24px!important;padding:3px!important;margin:0;border:0!important;border-radius:999px!important;background:#c9d2cc;position:relative;cursor:pointer}
.rhv-identity-switch input[role="switch"]::before{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s}
.rhv-identity-switch input[role="switch"]:checked{background:#2d754c}
.rhv-identity-switch input[role="switch"]:checked::before{transform:translateX(18px)}
@media(prefers-reduced-motion:reduce){.rhv-identity-switch input[role="switch"]::before{transition:none}}

.rhv-identification{border:1px solid #dce6d9;border-radius:16px;padding:20px;min-width:0;background:#f7fbf8}.rhv-identification legend{font-weight:700;padding:0 8px}.rhv-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rhv-identification .identity-warning{background:#fff4e8;border:1px solid #dba05b;border-radius:12px;padding:16px;margin:16px 0}.rhv-identification button{border:1px solid #2e7449;border-radius:12px;padding:10px 16px;font:inherit;background:white;color:#153e25;cursor:pointer}.identity-actions{display:flex;flex-wrap:wrap;gap:10px}.rhv-identification [data-rh-id-proceed]{background:#2e7449;color:white}.rhv-identification [data-rh-pvc-warning]{color:#9b3616}.rhv-identification>.form-field{margin-top:18px}@media(max-width:600px){.rhv-identity-grid{grid-template-columns:1fr}}
