/* ARCHSOLE Forms – uses ARCHSOLE theme variables when available, with neutral fallbacks. */
.asf { --asf-primary: var(--as-primary, #078a9a); --asf-text: var(--as-heading, #12313d); --asf-muted: var(--as-muted, #5c6d75); --asf-border: var(--as-border, #d5e2e5); --asf-radius: var(--as-radius, 8px); --asf-error: #c0392b; }
.asf-form { margin: 0; }
.asf-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.asf-col-full, .asf-heading { grid-column: span 6; }
.asf-col-half { grid-column: span 3; }
.asf-col-third { grid-column: span 2; }
@media (max-width: 640px) { .asf-col-half, .asf-col-third { grid-column: span 6; } }
.asf-heading { margin: .75rem 0 0; font-size: 1.125rem; }
.asf-label { display: block; margin: 0 0 .45rem; font-size: .9375rem; font-weight: 600; color: var(--asf-text); padding: 0; }
.asf-req { color: var(--asf-error); }
.asf input[type="text"], .asf input[type="email"], .asf input[type="tel"], .asf input[type="number"], .asf input[type="date"], .asf select, .asf textarea {
	width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--asf-text);
	background: #fff; border: 1px solid var(--asf-border); border-radius: var(--asf-radius); box-shadow: none; appearance: none; -webkit-appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.asf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312313d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.5rem; }
.asf textarea { resize: vertical; min-height: 120px; }
.asf input:focus, .asf select:focus, .asf textarea:focus { outline: none; border-color: var(--asf-primary); box-shadow: 0 0 0 3px rgba(7,138,154,.15); }
.asf ::placeholder { color: #9aa8ad; }
.asf-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.asf-choice { display: flex; align-items: flex-start; gap: .6rem; margin: .35rem 0; cursor: pointer; font-size: .9375rem; color: var(--asf-text); }
.asf-choice input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--asf-primary); flex: none; }
.asf-help { margin: .4rem 0 0; font-size: .8125rem; color: var(--asf-muted); }
.asf-error { margin: .4rem 0 0; font-size: .8125rem; color: var(--asf-error); font-weight: 500; }
.asf-field.has-error input, .asf-field.has-error select, .asf-field.has-error textarea { border-color: var(--asf-error); }
.asf-actions { margin-top: 1.5rem; }
.asf-submit { position: relative; cursor: pointer; border: 0; }
.asf-submit[disabled] { opacity: .75; cursor: progress; }
.asf-submit.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: .6rem; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: asf-spin .7s linear infinite; }
@keyframes asf-spin { to { transform: rotate(360deg); } }
.asf-notice { padding: .9rem 1.1rem; border-radius: var(--asf-radius); margin-bottom: 1.25rem; font-size: .9375rem; }
.asf-notice--success { background: #e8f6f1; color: #0d5c46; border: 1px solid #b7e2d2; }
.asf-notice--error { background: #fdecea; color: #8a1f17; border: 1px solid #f5c2bc; }
.asf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.asf .screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
