/* /forms hub and the generic temporary form page */
.forms-menu { background: var(--surface, rgba(255,255,255,.04)); border: 1px solid var(--border, rgba(255,255,255,.12)); border-radius: 12px; margin: 0 0 16px; padding: 0 16px; }
.forms-menu > summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.forms-menu > summary::-webkit-details-marker { display: none; }
.forms-menu > summary::before { content: "\25B8"; transition: transform .2s; }
.forms-menu[open] > summary::before { transform: rotate(90deg); }
.forms-count { font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(138, 43, 226, .25); }
.forms-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.forms-list a { display: grid; gap: 2px; padding: 12px 14px; min-height: 44px; border-radius: 10px; text-decoration: none; color: inherit; border: 1px solid var(--border, rgba(255,255,255,.12)); }
.forms-list a:hover { border-color: #8a2be2; }
.forms-list span { opacity: .75; font-size: .9rem; }
.forms-empty { opacity: .75; margin: 0 0 14px; }
.forms-who { opacity: .85; margin: 0 0 12px; }
.forms-desc { white-space: pre-line; }
.apply-card textarea { resize: vertical; width: 100%; }

/* Choices, confirmations and card text */
.forms-choices { display: grid; gap: 6px; }
.forms-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 6px 0; cursor: pointer; font-weight: 400; }
.forms-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #8a2be2; }
.forms-other { margin-top: 6px; width: 100%; }
.forms-card-text { opacity: .8; margin: 0 0 12px; }
.apply-card h2 { margin-top: 0; }

/* Layout of the forms pages: wider, larger text, tight choice lists. The global .form-field input rule (width 100%,
   padding) must not reach radios and checkboxes, so they are reset here with a more specific selector. */
.forms-wrap { max-width: 880px; font-size: 1.05rem; }
.forms-wrap .apply-card { padding: 2rem 2.25rem; }
.forms-wrap .apply-card h2 { font-size: 1.2rem; }
.forms-wrap .form-field { margin-bottom: 1.15rem; }
.forms-wrap .form-field > label { font-size: 1.05rem; line-height: 1.45; font-weight: 600; margin-bottom: .5rem; }
.forms-wrap .form-field input[type="text"],
.forms-wrap .form-field input[type="number"],
.forms-wrap .form-field select,
.forms-wrap .form-field textarea { font-size: 1.02rem; padding: .75rem 1rem; }
.forms-wrap .forms-choices { display: grid; gap: 0; }
.forms-wrap .form-field label.forms-check { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: .3rem 0; min-height: 0; font-size: 1.02rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.forms-wrap .form-field label.forms-check > span { flex: 1; min-width: 0; }
.forms-wrap .form-field .forms-check input[type="checkbox"],
.forms-wrap .form-field .forms-check input[type="radio"] { width: 1.2rem; height: 1.2rem; min-width: 1.2rem; padding: 0; margin: .15rem 0 0; flex: none; accent-color: #8a2be2; }
.forms-wrap .forms-card-text { font-size: 1rem; }
.forms-rich a { color: #7cc4ff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.forms-rich a:hover { color: #b3dcff; }
.forms-rich code { background: rgba(127, 127, 127, .22); border-radius: 4px; padding: 1px 5px; font-size: .92em; }
.forms-desc { font-size: 1rem; line-height: 1.55; }
