/* Careers page — application form and hero.
   Layered on top of css/styles.css (brand variables live there). */

.careers-hero {
  background: linear-gradient(135deg, var(--pink), var(--guava));
  color: #fff;
  padding: 60px 6%;
  text-align: center;
}

.careers-hero .script {
  color: #fff;
  margin-bottom: 6px;
}

.careers-hero h1 {
  font-size: 46px;
  margin: 0 0 18px;
  color: #fff;
}

.careers-hero h1 strong { color: #fff; }

.careers-hero p:last-child {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.5;
}

nav a.active { color: var(--pink); }

.apply-section { background: var(--soft); }

.apply-intro {
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 17px;
}

.apply-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.apply-card {
  background: #fff;
  border: 1px solid #ffd2df;
  border-radius: 18px;
  padding: 30px 32px 34px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--black);
}

.req { color: var(--pink); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e6c3cf;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--black);
}

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(255, 47, 125, 0.22);
  border-color: var(--pink);
}

.field input[type="date"] {
  min-height: 48px;
}

.field.has-error input,
.field.has-error select {
  border-color: #e0245e;
  background: #fff7f9;
}

.field .hint,
.submit-row .hint {
  font-size: 13px;
  color: #666;
  margin: 6px 0 0;
}

.field .err {
  color: #c2185b;
  font-weight: 700;
  font-size: 13px;
  margin: 6px 0 0;
}

.checks {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid #f3dbe3;
  padding-top: 18px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--pink);
  flex: 0 0 auto;
}

.check label {
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

.check.has-error label { color: #c2185b; }

/* Inline option under a field (for example "I have not worked before"). */
.check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

/* The same option at the top of a section. */
.check-option.standalone {
  margin-top: 0;
  margin-bottom: 16px;
}

.check-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--pink);
  flex: 0 0 auto;
}

.check-option label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  cursor: pointer;
}

.field input:disabled,
.field select:disabled,
.field input[readonly] {
  background: #f6f6f6;
  color: #8a8a8a;
}

/* Cloudflare Turnstile widget: reserve the space so the form does not jump
   while the widget loads. */
.turnstile-widget {
  margin-top: 22px;
  min-height: 65px;
}

/* Sub-headings inside the application form. */
.form-subhead {
  grid-column: 1 / -1;
  margin: 28px 0 -2px;
  padding-top: 18px;
  border-top: 1px solid #f3dbe3;
  color: var(--pink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-subhead:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Label for a group of controls (radio buttons, checkboxes). */
.field .group-label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--black);
}

/* Yes / No radio groups. */
.radio-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.radio-group legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--black);
}

.radio-group .radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.radio-group .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  cursor: pointer;
}

.radio-group .radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pink);
}

/* Days available (Monday to Sunday). */
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.days-grid .day-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: 1px solid #e6c3cf;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  cursor: pointer;
}

.days-grid .day-option:hover { border-color: var(--pink); }

.days-grid .day-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pink);
}

.submit-row {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.submit-btn {
  background: var(--pink);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 16px 34px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.submit-btn:hover { background: var(--fuchsia); }

.alert {
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 22px;
}

.alert h3 { margin: 0 0 10px; color: #0f6b3c; }

.alert p { margin: 0 0 10px; line-height: 1.5; }

.alert p:last-child { margin-bottom: 0; }

.alert-error {
  background: #fff0f3;
  border: 1px solid #ffb3c8;
  color: #8a0f38;
}

.alert-success {
  background: #eafaf1;
  border: 1px solid #9fe0bd;
  color: #0f6b3c;
}

/* Privacy policy section. */
.privacy {
  background: #fff;
  text-align: center;
}

.privacy-intro {
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 17px;
}

.privacy-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: var(--soft);
  border: 1px solid #ffd2df;
  border-radius: 18px;
  padding: 30px 32px 34px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.privacy-card h3 {
  color: var(--pink);
  font-size: 17px;
  margin: 24px 0 8px;
}

.privacy-card h3:first-child { margin-top: 0; }

.privacy-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
}

.privacy-card p:last-child { margin-bottom: 0; }

.privacy-card a {
  color: var(--pink);
  font-weight: 700;
}

.privacy-contact { margin-top: 16px; }

/* Honeypot: off-screen, not display:none (bots ignore both). */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .apply-card { padding: 22px 18px 26px; }
  .privacy-card { padding: 22px 18px 26px; }
  .days-grid { grid-template-columns: repeat(4, 1fr); }
  .careers-hero h1 { font-size: 34px; }
}
