/* whistler.com standalone forms (/forms/rfq/, /forms/groups/, /forms/affiliate/), Nov 2026.
   Brand: turquoise #0d7079 (hover #00a393), blue #00344c, text #5b6778, light grey #e6e8eb,
   red #e42b5d, 4px corners, 840px breakpoint.
   Field styles target the form's OWN inputs only (direct children of .twf-field): the pickadate
   date picker renders its month/year <select>s inside the same field, and a descendant selector
   stretched them full width (Nov 2026). Bump ?v= in the pages after editing this file. */

.twf { max-width: 860px; margin: 0 auto 40px; text-align: left; }
.twf h1 { margin-bottom: 10px; }
.twf-intro { margin-bottom: 20px; }
.twf-note { margin: 0 0 16px; font-size: 14px; }
.twf-req { color: #e42b5d; }

.twf-card { border: 1px solid #e6e8eb; border-radius: 4px; padding: 20px; margin-bottom: 20px; background: #fff; }
.twf-card h2 { margin: 0 0 16px; padding: 0; font-size: 20px; font-weight: 500; color: #00344c; background: none; }
.twf-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; color: #00344c; }
.twf-card p { margin: 0 0 12px; }

.twf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: end; }
.twf-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.twf-grid--top { align-items: start; }
.twf-grid + .twf-grid, .twf-grid + .twf-field, .twf-field + .twf-field,
.twf-field + .twf-grid, .twf-grid + .twf-block, .twf-block + .twf-block { margin-top: 16px; }
.twf-span-2 { grid-column: 1 / -1; }

.twf-field > label { display: block; margin-bottom: 6px; font-weight: 500; color: #00344c; line-height: 1.3; }
.twf-field > input[type="text"], .twf-field > input[type="email"], .twf-field > input[type="tel"],
.twf-field > input[type="number"], .twf-field > select, .twf-field > textarea {
    display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px;
    border: 1px solid #ced3d8; border-radius: 4px; background-color: #fff;
    font-family: "Work Sans", sans-serif; font-size: 16px; line-height: 1.4; color: #5b6778; box-sizing: border-box;
}
.twf-field > textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.twf-field > input:focus, .twf-field > select:focus, .twf-field > textarea:focus {
    outline: none; border-color: #0d7079; background-color: #f7fbfb;
}
.twf-hint { margin: 6px 0 0; font-size: 14px; }

/* Kids' ages (RFQ) */
.twf-kids { margin-top: 16px; padding: 12px; border-radius: 4px; background: #f4f5f7; }
.twf-kids > label { display: block; margin-bottom: 8px; font-weight: 500; color: #00344c; }
.twf-kids__ages { display: flex; flex-wrap: wrap; gap: 8px; }
.twf-kids__ages select { width: 70px; height: 40px; padding: 0 8px; border: 1px solid #ced3d8; border-radius: 4px; background: #fff; color: #5b6778; }

/* Checkboxes: the site's image checkboxes (input + label::before) are kept */
.twf-check { margin-top: 12px; }
.twf-check .checkbox { display: inline-block; margin-right: 20px; }
.twf-check--wrap .checkbox label { display: block; padding: 4px 0 0 30px; line-height: 1.5; }
.twf-check--wrap .checkbox label::before { margin: -4px 0 0 -30px; }
.twf-inline__label { display: block; margin-bottom: 2px; font-weight: 500; color: #00344c; }

/* CheckBoxList rendered as <ul> (RepeatLayout="UnorderedList") */
ul.twf-options { margin: 0; padding: 0; list-style: none; }
ul.twf-options li { margin: 0; padding: 0; list-style: none; background: none; }
ul.twf-options li::before { content: none; }
ul.twf-options li label { display: block; padding: 4px 0 0 30px; line-height: 1.5; }
ul.twf-options li label::before { margin: -4px 0 0 -30px; }
ul.twf-options--inline { display: flex; flex-wrap: wrap; gap: 0 24px; }
.twf-question { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding: 8px 0; border-top: 1px solid #e6e8eb; }
.twf-question:first-child { border-top: 0; }
.twf-question > span { font-weight: 500; color: #00344c; }

.twf-divider { margin: 20px 0; border: 0; border-top: 1px solid #e6e8eb; }

/* Submit */
.twf-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.twf .twf-submit { height: 48px; padding: 0 28px; border-radius: 4px; font-size: 17px; font-weight: 500; }
.twf .twf-submit:hover { background-color: #00a393; }
.twf .twf-submit.aspNetDisabled { opacity: .45; cursor: not-allowed; }
.twf-privacy { margin-top: 20px; font-size: 14px; }
.twf-thanks { max-width: 860px; margin: 0 auto 40px; }

@media (max-width: 840px) {
    .twf-card { padding: 16px; }
    .twf-grid { grid-template-columns: 1fr; }
    .twf-grid--3 { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
    .twf-grid--3 .twf-field > label { font-size: 14px; }
    .twf-grid--stack { grid-template-columns: 1fr; }
    .twf-grid--stack .twf-field > label { font-size: inherit; }
    .twf-submit-row { justify-content: center; }
    .twf .twf-submit { width: 100%; }
}

/* pickadate header: let month/year size to their text ("November" was clipped at 390 px) */
.twf .picker__select--month, .twf .picker__select--year { width: auto; max-width: 45%; }
