/* ==========================================================================
   aci-core: layout of the listing forms (/list-your-studio/) and the partner
   area (/account/). Loaded after the theme's main.css (forms.php), so these
   rules win over the theme's at the same specificity.
   ========================================================================== */

/* No up and down arrows in number boxes, anywhere on the site. */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Even spacing between rows; the fields of a row line up at the top. */
.aci-form__grid { row-gap: 20px; align-items: start; }

/* A field that keeps its row (the currency, as wide as one price): the next one starts a new row. */
@media (min-width: 700px) {
	.aci-field--alone + .aci-field { grid-column-start: 1; }
}

/* Yes/No questions: the answers sit on the question's line, both together, never wrapping.
   The question takes the rest of the line and wraps inside it if it must. */
.aci-fieldset--inline { flex-wrap: nowrap; gap: 8px; }
.aci-fieldset--inline legend { float: left; flex: 1 1 auto; min-width: 0; margin: 0 6px 0 0; }
.aci-fieldset--inline .aci-choice { flex: none; white-space: nowrap; padding: 8px 12px; }

/* "This creates your partner area…", above the password. */
.aci-form__note { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--teal-soft, #e3efed); color: var(--ink, #1f2927); font-size: .92rem; }

/* "Don't show my number on my listing". */
.aci-choice--tick { align-items: center; }

/* Training rows: the same five columns on every row, in the form and in the partner area. */
.aci-training__row > *, .aci-pf__row > * { min-width: 0; }
@media (min-width: 700px) {
	.aci-training__row { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (min-width: 701px) {
	.aci-pf__row { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); }
}

/* The map pin is in another country than the one chosen (location-picker.js). */
.aci-loc__out { margin: 8px 0 0; color: var(--orange-dk, #b2421f); font-size: .9rem; font-weight: 500; }

/* Partner area: a Yes/No question with its buttons on the same line. */
.aci-pf--yn { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.aci-pf--yn > .aci-pf__label { flex: 1 1 0; min-width: 0; }
.aci-pf--yn > .aci-pf__seg { flex: none; }
.aci-pf--yn > .aci-pf__desc { flex-basis: 100%; }
.aci-pf__seg span { white-space: nowrap; }
@media (max-width: 420px) {
	.aci-pf__seg span { padding: 8px 11px; }
}

/* Partner area: one tick box ("Don't show my number on my listing"). */
.aci-pf__tick { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: .95rem; }
.aci-pf__tick input { width: 19px; height: 19px; margin: 0; accent-color: var(--teal, #04574f); flex: none; }
