/* ============================================================become-guru.css — the "Become a Guru" application page.Reuses .fs-topnav + .fs-hero from flow-studio.css; this filestyles the application form. Plain CSS.============================================================ */
.guru-form-wrap {
background: var(--cream);
padding: clamp(1.4rem, 4vw, 2.8rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
}
.guru-form {
max-width: 860px;
margin: 0 auto;
background: var(--paper);
border: 1px solid rgba(27, 19, 43, 0.08);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
padding: clamp(1.4rem, 4vw, 2.6rem);
}
/* progress-ish intro line */
.guru-form__note {
margin: 0 0 1.6rem;
color: var(--text-soft);
font-size: 0.95rem;
}
.guru-form__note b { color: var(--sage-dk); }
/* sections */
.gf-section { margin-bottom: 2rem; }
.gf-section:last-of-type { margin-bottom: 1rem; }
.gf-section__title {
display: flex;
align-items: center;
gap: 0.6rem;
font-family: var(--font-heading);
font-size: 1.25rem;
color: var(--ink-900);
margin: 0 0 1rem;
padding-bottom: 0.6rem;
border-bottom: 1px solid rgba(27, 19, 43, 0.08);
}
.gf-section__num {
display: grid;
place-items: center;
width: 28px;
height: 28px;
border-radius: 50%;
font-size: 0.85rem;
font-weight: 700;
color: #fff;
background: var(--grad-accent);
}
/* field grid */
.gf-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem 1.2rem;
}
.gf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.gf-field.gf-span2 { grid-column: 1 / -1; }
/* [hidden] must win over the flex display above */
.gf-field[hidden],
.gf-other[hidden] { display: none; }
/* The conditional "Other" input lives inside the field it belongs to, so it
stacks under its own chip row instead of landing in the neighbouring grid
column the way a separate .gf-field did. */
.gf-other {
display: flex;
flex-direction: column;
gap: 0.35rem;
margin-top: 0.7rem;
padding: 0.8rem 0.9rem;
border-left: 3px solid var(--violet);
border-radius: 0 10px 10px 0;
background: #f7f3ee;
}
.gf-other > input { max-width: 420px; }
/* inline validation messages */
.gf-msg {
margin: 0;
color: var(--coral);
font-size: 0.82rem;
font-weight: 600;
line-height: 1.35;
}
.gf-msg:empty { display: none; }
.gf-msg--terms { margin-top: 0.4rem; }
.gf-field.is-invalid input,
.gf-field.is-invalid textarea,
.gf-other.is-invalid input { border-color: var(--coral); }


.gf-field label {
font-size: 0.85rem;
font-weight: 700;
color: var(--ink-900);
}
.gf-field label .req { color: var(--coral); }
.gf-field .gf-hint { font-weight: 500; color: var(--text-soft); font-size: 0.78rem; }
.gf-field input,
.gf-field select,
.gf-field textarea {
width: 100%;
padding: 0.7rem 0.85rem;
border-radius: 10px;
border: 1px solid rgba(27, 19, 43, 0.16);
background: #fdfcfa;
color: var(--text);
font: inherit;
font-size: 0.95rem;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gf-field textarea { resize: vertical; min-height: 110px; }
.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus {
outline: none;
border-color: var(--violet);
box-shadow: var(--ring);
}
.gf-field input[type="file"] { padding: 0.5rem; background: #fff; cursor: pointer; }
/* Fixed (read-only) field, e.g. Country while Yogaverse is New Zealand only */
.gf-field input.gf-fixed {
background: #f1eee8;
border-style: dashed;
color: var(--ink-900);
cursor: default;
}
.gf-fixed-hint { margin: 0; color: var(--text-soft); font-size: 0.8rem; }
.gf-honeypot {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
/* chip checkboxes (styles, languages, days, session type) */
.gf-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gf-chip { position: relative; cursor: pointer; }
.gf-chip input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.gf-chip span {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.45rem 0.9rem;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-soft);
background: #f4eee6;
border: 1px solid rgba(27, 19, 43, 0.1);
transition: all 0.15s ease;
}
.gf-chip:hover span { border-color: var(--violet); color: var(--ink-900); }
.gf-chip input:checked + span {
color: #fff;
background: var(--violet);
border-color: transparent;
}
/* A tick and a weight change carry the selected state too, so it never rests
on colour alone. */
.gf-chip input:checked + span::before {
content: "\2713";
font-size: 0.9em;
line-height: 1;
}
.gf-chip input:checked + span { font-weight: 700; }
.gf-chip input:focus-visible + span { box-shadow: var(--ring); outline: 2px solid var(--violet); outline-offset: 2px; }
/* terms row */
.gf-terms {
display: flex;
align-items: flex-start;


gap: 0.6rem;
font-size: 0.9rem;
color: var(--text-soft);
}
.gf-terms input { margin-top: 0.2rem; width: 16px; height: 16px; accent-color: var(--violet); }
.gf-terms a { color: var(--sage-dk); font-weight: 700; }
/* actions */
.gf-actions {
margin-top: 1.6rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem;
}
.gf-error {
color: var(--coral);
font-weight: 600;
font-size: 0.9rem;
}
/* success panel */
.gf-success {
display: none;
max-width: 860px;
margin: 0 auto;
text-align: center;
background: var(--paper);
border: 1px solid rgba(123, 166, 134, 0.4);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
padding: clamp(2rem, 5vw, 3rem);
}
.gf-success.is-on { display: block; animation: gf-pop 0.4s ease; }
.gf-success__badge {
width: 72px;
height: 72px;
margin: 0 auto 1rem;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 2rem;
color: #fff;
background: var(--grad-accent);
}
.gf-success h2 { font-family: var(--font-heading); font-size: 1.7rem; color: var(--ink-900); margin: 0 0 0.6rem; }
.gf-success p { color: var(--text-soft); max-width: 52ch; margin: 0 auto 0.6rem; }
.gf-success .gf-success__links { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
@keyframes gf-pop {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
.gf-grid { grid-template-columns: 1fr; }
.gf-other { padding: 0.7rem 0.8rem; }
.gf-other > input { max-width: none; }
}
/* ---------- Hero: photo | heading and text | photo ----------
Scoped to .fs-hero--teacher-signup so the shared .fs-hero used by other
pages is untouched. A compact band: both photos show their full scene in
the source aspect ratio (1200x670). On phones the text comes first, then
only the bamboo/mat photo; the form always follows the whole hero. */
.fs-hero.fs-hero--teacher-signup {
padding-top: clamp(16px, 1.4vw, 20px);
padding-bottom: 10px;
}
.fs-hero--teacher-signup + .guru-form-wrap {
padding-top: 14px;
}
.tsu-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
grid-template-areas: "left copy right";
align-items: center;
gap: clamp(20px, 2.5vw, 36px);
max-width: 1080px;
margin: 0 auto;
}
.tsu-hero__copy {
grid-area: copy;
max-width: 560px;
margin: 0 auto;
text-align: center;
}
.tsu-hero__copy .fs-hero__title {
margin-top: 0;
font-size: clamp(1.5rem, 2.3vw, 2.1rem);
line-height: 1.15;
}
.tsu-hero__copy .fs-hero__lead {
max-width: 520px;
margin: 0.6rem auto 0;
font-size: 0.95rem;
line-height: 1.5;
}
.tsu-hero__photo {
width: 100%;
max-width: 300px;
margin: 0;
justify-self: center;
aspect-ratio: 1200 / 670;
border-radius: 16px;
overflow: hidden;
background: var(--paper);
border: 1px solid rgba(27, 19, 43, 0.08);
box-shadow: var(--shadow-sm);
}
.tsu-hero__photo--left { grid-area: left; }
.tsu-hero__photo--right { grid-area: right; }
/* Desktop only: break the heading after "a" so the second line reads
"Yoga or Wellbeing Teacher". Phones and tablets wrap naturally. */
.tsu-br { display: none; }
@media (min-width: 1024px) {
.tsu-br { display: inline; }
}
.tsu-hero__photo img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
@media (min-width: 781px) and (max-width: 1023px) {
.tsu-hero__photo { max-width: 200px; }
}
@media (max-width: 780px) {
.tsu-hero {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "copy" "left";
gap: 14px;
}
.tsu-hero__copy .fs-hero__title { font-size: clamp(1.45rem, 6vw, 1.8rem); }
.tsu-hero__photo { max-width: 440px; border-radius: 14px; }
.tsu-hero__photo--right { display: none; }
.fs-hero--teacher-signup + .guru-form-wrap { padding-top: 10px; }
}
