/*
 * ACU forms (plugins/acu-forms): layout and the shared form card. The base
 * colors come from ACU's form rules in enhancements.css
 * ([data-gravity-form] .gfield, .gform_button, and so on). Hand-written site
 * code (not synced from acu-website).
 */
.acu-form { text-align: left; margin: 8px 0 0; }
.acu-form .gform_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.acu-form .gfield { margin: 0; min-width: 0; }
.acu-form .gfield--wide,
.acu-form .gfield[data-field="topic"] { grid-column: 1 / -1; }
.acu-form .gfield_label { display: block; margin-bottom: 8px; }
.acu-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.acu-form select,
.acu-form textarea { display: block; width: 100%; box-sizing: border-box; }
.acu-form textarea { min-height: 150px; resize: vertical; }
.acu-form .gform_validation_errors { margin-bottom: 18px; }
.acu-form .gform_validation_errors:focus,
.acu-form .gform_confirmation_message:focus { outline: none; }
.acu-form .gform_footer { margin-top: 22px; }
.acu-form .gform_button { cursor: pointer; }
.acu-form .gform_button[disabled] { opacity: 0.7; cursor: progress; }
/* Spam trap: off screen, not display:none (some bots skip hidden fields). */
.acu-form .acu-form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
	.acu-form .gform_fields { grid-template-columns: 1fr; }
}

/* Turkey Shoot sponsorship: package cards (Turkey Shoot Packages) and form. */
.ts-pkgs { text-align: left; margin: 8px 0 36px; }
.ts-pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.ts-pkg { display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; padding: 22px 22px 20px; box-shadow: var(--shadow-raised-sm); transition: box-shadow .25s ease, transform .25s ease; }
.ts-pkg--featured { border-top: 4px solid var(--orange); }
.ts-pkg--selected { box-shadow: var(--shadow-inset), 0 0 0 2px var(--orange); }
.ts-pkg--soldout { opacity: 0.6; }
.ts-pkg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; }
.ts-pkg-name { font-family: 'futura-pt', 'Futura PT', 'Futura', 'Baumans', sans-serif; font-size: 1.15rem; color: var(--navy); margin: 0; flex: 1 1 auto; }
.ts-pkg-price { font-family: 'futura-pt', 'Futura PT', 'Futura', 'Baumans', sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--orange); }
.ts-pkg-role { flex-basis: 100%; order: 3; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--midgray); }
.ts-pkg-avail { order: 4; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.7rem; font-weight: 600; }
.ts-pkg-avail--out { background: var(--midgray); }
.ts-pkg-highlight { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin: 0 0 8px; line-height: 1.5; }
.ts-pkg-benefits { margin: 0 0 16px; padding: 0 0 0 18px; font-size: 0.85rem; line-height: 1.55; color: var(--slate); }
.ts-pkg-benefits li { margin-bottom: 4px; }
.ts-pkg--featured .ts-pkg-benefits { columns: 2; column-gap: 28px; }
.ts-pkg-choose { margin-top: auto; align-self: flex-start; cursor: pointer; }
.ts-pkg-choose[disabled] { cursor: not-allowed; }
.ts-golfer { border: 0; margin: 0 0 12px; padding: 0; }
.ts-golfer-grid { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 10px; }
.ts-golfer-grid input, .ts-golfer-grid select { width: 100%; box-sizing: border-box; }
.ts-radios { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ts-radio, .ts-check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--slate); cursor: pointer; }
.ts-total { font-size: 1rem; color: var(--navy); margin: 0 0 16px; }
.ts-total strong { font-family: 'futura-pt', 'Futura PT', 'Futura', 'Baumans', sans-serif; font-size: 1.5rem; margin-left: 6px; }
@media (max-width: 640px) {
	.ts-pkg-grid { grid-template-columns: 1fr; }
	.ts-pkg--featured .ts-pkg-benefits { columns: 1; }
	.ts-golfer-grid { grid-template-columns: 1fr; }
}

/* Turkey Shoot registration and PayPal. */
.ts-player { border: 0; margin: 0 0 8px; padding: 0; }
.ts-player .ts-form-h { padding: 0; }
.ts-closed { font-size: 1rem; color: var(--navy); line-height: 1.7; }
.acu-paypal { max-width: 420px; margin: 0 auto; }
.acu-paypal-note { text-align: center; margin-top: 10px; }

/*
 * One look for every form, matching the Contact page form card: a single
 * raised card with the orange to gold top bar, left-aligned text, navy
 * labels with an orange asterisk, a navy pill button with an arrow, and the
 * gold shield note. The designed placeholder sits inside a [data-gravity-form]
 * wrapper that enhancements.css already draws as a card, so the wrapper's
 * card is dropped and the inner card carries the design.
 */
[data-gravity-form]:has(.acu-form) { background: none; box-shadow: none; padding: 0; border-radius: 0; }
[data-gravity-form] > div:has(.acu-form),
.acu-form-card {
	position: relative; overflow: hidden; background: var(--surface); border-radius: 28px !important;
	box-shadow: var(--shadow-raised); padding: 48px !important; text-align: left !important;
}
[data-gravity-form] > div:has(.acu-form)::before,
.acu-form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
[data-gravity-form] > div:has(.acu-form) > h3 { font-size: 1.6rem !important; margin-bottom: 12px !important; }
[data-gravity-form] > div:has(.acu-form) > p { font-size: 0.95rem !important; line-height: 1.65 !important; margin-bottom: 28px !important; }
.acu-site-form { max-width: 820px; margin: 0 auto; }

.acu-form .gfield_label,
.acu-form legend.gfield_label { font-family: inherit; font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.01em; }
.acu-form .gfield_required { color: var(--orange); margin-left: 2px; }
.acu-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.acu-form .gfield_description { font-size: 0.78rem; color: var(--midgray); line-height: 1.5; margin: 6px 0 0; }
.acu-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.acu-form select,
.acu-form textarea {
	font-family: inherit; font-size: 0.95rem; color: var(--slate); background: var(--surface); border: none;
	border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-inset); transition: box-shadow 0.3s ease;
}
.acu-form input:focus, .acu-form select:focus, .acu-form textarea:focus { outline: none; box-shadow: var(--shadow-inset), 0 0 0 2px rgba(199,91,18,0.35); }
.acu-form input[type="checkbox"],
.acu-form input[type="radio"] { display: inline-block; width: 17px !important; height: 17px; margin: 0; flex-shrink: 0; accent-color: var(--orange); box-shadow: none; padding: 0; }
.acu-form input[type="file"] {
	font-family: inherit; font-size: 0.88rem; color: var(--slate); background: var(--surface-light);
	border: 2px dashed rgba(199,91,18,0.35); border-radius: 14px; padding: 18px; cursor: pointer;
}
.acu-form input[type="file"]::file-selector-button {
	font-family: inherit; font-weight: 600; font-size: 0.85rem; color: #fff; background: var(--navy);
	border: none; border-radius: 999px; padding: 8px 18px; margin-right: 14px; cursor: pointer;
}
/* Section headings inside the longer forms (Turkey Shoot) */
.acu-form .ts-form-h { display: block; width: 100%; font-family: 'futura-pt', 'Futura PT', 'Futura', 'Baumans', sans-serif; font-size: 1.15rem; font-weight: 600; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(199,91,18,0.25); }
.acu-form form > .ts-form-h:first-child { margin-top: 0; }
.acu-form .ts-player { margin-top: 26px; }

/* Button: navy pill with arrow, orange on hover (Contact form btn-primary) */
.acu-form .gform_footer { text-align: left; }
.acu-form .gform_button {
	display: inline-flex !important; align-items: center; gap: 10px; border-radius: 999px !important;
	padding: 15px 30px !important; background: var(--navy) !important; transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.acu-form .gform_button:hover:not([disabled]) { background: var(--orange) !important; }
/* Card payment swaps the submit button for PayPal's buttons (forms.js sets hidden). */
.acu-form .gform_button[hidden] { display: none !important; }
.acu-form .gform_button .btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Notices, the shield note, and the confirmation */
.acu-form-notice { background: rgba(199,91,18,0.08); border-left: 4px solid var(--orange); border-radius: 12px; padding: 14px 18px; margin: 0 0 24px; font-size: 0.92rem; line-height: 1.6; color: var(--slate); }
.acu-form-notice strong { color: var(--navy); }
.acu-form-notice a { color: #A84A0D; font-weight: 600; white-space: nowrap; }
.acu-form-note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; color: var(--midgray); line-height: 1.55; margin: 18px 0 0; }
.acu-form-note svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.acu-form .gform_confirmation_message { text-align: center; padding: 32px 12px; font-size: 0.95rem; color: var(--midgray); line-height: 1.65; }
.acu-form .gform_confirmation_message::before {
	content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 18px; background: var(--gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 640px) {
	[data-gravity-form] > div:has(.acu-form), .acu-form-card { padding: 32px 22px !important; }
}

/* Designed (native) forms, such as Contact: field-level errors and the busy
   state set by /acu/forms.js. The page stylesheet styles the rest. */
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea,
.form-consent.has-error input { outline: 2px solid #C75B12; outline-offset: 2px; }
.form-error { margin: 6px 0 0; font-size: 0.85rem; line-height: 1.45; color: #8F3F0B; }
form[aria-busy="true"] button[type="submit"] { cursor: progress; opacity: 0.8; }

/* Apple Pay (through PayPal; shown only in Safari with a card in Wallet). The
   button is the system one, drawn by WebKit; the slot sits above PayPal's. */
.acu-apple-pay { display: block; width: 100%; max-width: 420px; height: 44px; margin: 0 auto 14px; border: 0; border-radius: 22px; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; }
.acu-apple-pay:focus-visible { outline: 3px solid var(--orange, #C75B12); outline-offset: 3px; }
.acu-apple-pay[hidden] { display: none; }
