@charset "UTF-8";

/* Brand heading face, matching the logo lettering. Uses the copy already
   installed on Apple devices when available, otherwise the bundled file. */
@font-face {
  font-family: 'SKM Heading';
  src: local('American Typewriter Condensed Bold'),
       local('AmericanTypewriter-CondensedBold'),
       url('fonts/american-typewriter-condensed-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* SKM Services applicant portal. Everything is scoped to .skm-ats so the theme is untouched. */

.skm-ats {
  --skm-red: #C0000B;
  --skm-red-dark: #9A0009;
  --skm-blue: #01A0C7;
  --skm-blue-text: #006F8A;   /* darker blue that passes contrast for text */
  --skm-sky: #EAF6FA;
  --skm-line: #C9DEE5;
  --skm-ink: #000;
  --skm-text: #222;
  --skm-muted: #555;
  --skm-paper: #fff;
  --skm-heading: 'SKM Heading', 'American Typewriter', Rockwell, Georgia, serif;

  max-width: 680px;
  margin: 0 auto;
  color: var(--skm-text);
  font-size: 17px;
  line-height: 1.55;
  text-align: left;
}

.skm-ats *, .skm-ats *::before, .skm-ats *::after { box-sizing: border-box; }
.skm-ats [hidden] { display: none !important; }

/* Brand */
.skm-ats .skm-brand { margin: 0 0 20px; }
.skm-ats .skm-logo { display: block; width: 280px; max-width: 70%; height: auto; }
.skm-ats .skm-brand.is-compact { margin: 0; }
.skm-ats .skm-brand.is-compact .skm-logo { width: 150px; max-width: 45vw; }

.skm-ats .skm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.skm-ats .skm-account { display: flex; align-items: baseline; gap: 12px; font-size: 14px; flex-wrap: wrap; }

/* Panel: white sheet with the logo's blue baseline under it */
.skm-ats .skm-panel {
  background: var(--skm-paper);
  border: 1px solid var(--skm-line);
  border-top: 5px solid var(--skm-red);
  border-bottom: 5px solid var(--skm-blue);
  padding: 28px 28px 24px;
}

.skm-ats .skm-title {
  font-family: var(--skm-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  color: var(--skm-ink);
  margin: 0 0 10px;
  letter-spacing: 0;
}
.skm-ats .skm-title:focus { outline: none; }

.skm-ats .skm-lead { margin: 0 0 12px; max-width: 60ch; }
.skm-ats .skm-muted { color: var(--skm-muted); }
.skm-ats .skm-fine { font-size: 13px; color: var(--skm-muted); margin: 18px 0 0; }
.skm-ats .skm-fine a { color: var(--skm-blue-text); }
.skm-ats .skm-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Progress: blue = done, red = where you are, grey = still ahead */
.skm-ats .skm-progress { margin: 0 0 14px; }
.skm-ats .skm-progress-text { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--skm-muted); }
.skm-ats .skm-segments {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 5px;
}
.skm-ats .skm-segments li {
  flex: 1; height: 12px; margin: 0; padding: 0;
  background: #DCE4E7;
  position: relative;
  transition: background-color .25s ease;
}
.skm-ats .skm-segments li:first-child { border-radius: 6px 0 0 6px; }
.skm-ats .skm-segments li:last-child { border-radius: 0 6px 6px 0; }
.skm-ats .skm-segments li.is-done { background: var(--skm-blue); }
.skm-ats .skm-segments li.is-current { background: var(--skm-red); }
.skm-ats .skm-segments button {
  position: absolute; inset: -10px 0; width: 100%;
  background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer;
}
.skm-ats .skm-segments li.is-done:hover { background: #0189AB; }

/* Form layout */
.skm-ats .skm-form { margin-top: 18px; }
.skm-ats .skm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.skm-ats .skm-grid > .skm-field { grid-column: span 4; }
.skm-ats .skm-grid > .skm-field.is-half { grid-column: span 2; }
.skm-ats .skm-grid > .skm-field.is-quarter { grid-column: span 1; }

.skm-ats .skm-field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.skm-ats .skm-field > label,
.skm-ats .skm-field > legend {
  display: block; font-weight: 700;
  margin: 0 0 6px; font-size: 16px;
}

/* Themes often style legend, label and headings with their own background
   colors, borders or boxes. Inside the application everything is plain
   text on white so it stays easy to read. */
.skm-ats legend,
.skm-ats label,
.skm-ats h2,
.skm-ats h3,
.skm-ats fieldset,
.skm-ats dt,
.skm-ats dd,
.skm-ats p {
  background: none !important;
  background-color: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
  padding: 0;
  width: auto;
  float: none;
  text-transform: none;
}
.skm-ats legend,
.skm-ats .skm-field > label { color: var(--skm-ink) !important; }
.skm-ats legend { max-width: 100%; }

.skm-ats .skm-optional { font-weight: 400; color: var(--skm-muted); }
.skm-ats .skm-hint { margin: -2px 0 8px; font-size: 14px; color: var(--skm-muted); }

.skm-ats input[type="text"],
.skm-ats input[type="email"],
.skm-ats input[type="tel"],
.skm-ats input[type="date"],
.skm-ats select,
.skm-ats textarea {
  display: block; width: 100%;
  font: inherit; font-size: 17px; color: var(--skm-text);
  background: #fff;
  border: 2px solid #9FB6BE;
  border-radius: 4px;
  padding: 10px 12px;
  min-height: 48px;
  margin: 0;
  box-shadow: none;
}
.skm-ats textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.skm-ats select { appearance: auto; }
.skm-ats input:focus-visible,
.skm-ats select:focus-visible,
.skm-ats textarea:focus-visible {
  outline: 3px solid var(--skm-blue); outline-offset: 1px; border-color: var(--skm-blue-text);
}
.skm-ats [aria-invalid="true"] { border-color: var(--skm-red); }

.skm-ats .skm-code {
  max-width: 220px;
  font-family: var(--skm-heading) !important;
  font-size: 30px !important; font-weight: 700;
  letter-spacing: .35em; text-align: center;
}

.skm-ats .skm-count { margin: 4px 0 0; font-size: 13px; color: var(--skm-muted); text-align: right; }

.skm-ats .skm-error {
  margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--skm-red);
}

/* Choice buttons: big tap targets for phones */
.skm-ats .skm-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.skm-ats .skm-choice { position: relative; margin: 0; cursor: pointer; }
.skm-ats .skm-choice input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0;
}
.skm-ats .skm-choice span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 16px;
  border: 2px solid #9FB6BE; border-radius: 4px;
  background: #fff; font-weight: 600; font-size: 16px; line-height: 1.2;
}
.skm-ats .skm-choice input:checked + span {
  border-color: var(--skm-blue-text); background: var(--skm-blue-text); color: #fff;
}
.skm-ats .skm-choice input:checked + span::before { content: "\2713"; font-weight: 700; }
.skm-ats .skm-choice input:focus-visible + span { outline: 3px solid var(--skm-blue); outline-offset: 2px; }
.skm-ats .skm-choices.is-many .skm-choice span { font-weight: 500; }

.skm-ats .skm-choices.is-stacked { display: grid; grid-template-columns: 1fr; }
.skm-ats .skm-choices.is-stacked .skm-choice span { width: 100%; }

.skm-ats .skm-consent-text {
  border: 2px solid var(--skm-line);
  border-left: 5px solid var(--skm-blue);
  padding: 14px 16px;
  margin: 0 0 14px;
  font-size: 15px; line-height: 1.5;
  max-height: 260px; overflow-y: auto;
  white-space: pre-line;
}

.skm-ats .skm-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.skm-ats .skm-check input { width: 24px; height: 24px; margin: 1px 12px 0 0 !important; flex: none; accent-color: var(--skm-blue); }
.skm-ats .skm-check span { font-weight: 600; }

/* Buttons */
.skm-ats .skm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.skm-ats .skm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px;
  font: inherit; font-size: 17px; font-weight: 700; line-height: 1.1;
  border-radius: 4px; cursor: pointer; text-decoration: none;
  border: 2px solid transparent;
}
.skm-ats .skm-btn.is-primary { background: var(--skm-red); color: #fff; margin-left: auto; }
.skm-ats .skm-btn.is-primary:hover { background: var(--skm-red-dark); }
.skm-ats .skm-btn.is-secondary { background: #fff; color: var(--skm-ink); border-color: var(--skm-ink); }
.skm-ats .skm-btn.is-secondary:hover { background: var(--skm-sky); }
.skm-ats .skm-btn:focus-visible { outline: 3px solid var(--skm-blue); outline-offset: 2px; }
.skm-ats .skm-btn:disabled,
.skm-ats .skm-btn.is-disabled { opacity: .6; cursor: wait; pointer-events: none; }
.skm-ats .skm-form[data-form="start"] .skm-btn.is-primary,
.skm-ats .skm-form[data-form="code"] .skm-btn.is-primary { margin-left: 0; }

.skm-ats .skm-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.skm-ats .skm-link {
  background: none; border: 0; padding: 4px 0; margin: 0;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--skm-blue-text); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.skm-ats .skm-link:hover { color: var(--skm-ink); }
.skm-ats .skm-link:focus-visible { outline: 3px solid var(--skm-blue); outline-offset: 2px; }

/* Notices */
.skm-ats .skm-notice { margin: 12px 0 4px; padding: 12px 14px; border-left: 5px solid var(--skm-blue); background: var(--skm-sky) !important; font-weight: 600; }
.skm-ats .skm-notice.is-error { border-color: var(--skm-red); background: #FCECEC; color: #7A0007; }
.skm-ats .skm-notice.is-success { border-color: var(--skm-blue); }
.skm-ats .skm-notice.is-gone { opacity: 0; transition: opacity .4s ease; }
.skm-ats .skm-notice:empty { display: none; }

/* Uploads */
.skm-ats .skm-upload { padding: 18px 0; border-top: 1px solid var(--skm-line); }
.skm-ats .skm-upload:first-of-type { border-top: 0; padding-top: 4px; }
.skm-ats .skm-upload-title { font-family: var(--skm-heading); font-size: 21px; font-weight: 700; color: var(--skm-ink); margin: 0 0 10px; }
.skm-ats .skm-files { list-style: none; margin: 0 0 12px; padding: 0; }
.skm-ats .skm-files li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 12px; margin: 0 0 6px;
  background: var(--skm-sky) !important; border-left: 4px solid var(--skm-blue);
}
.skm-ats .skm-file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.skm-ats .skm-file-size { font-size: 13px; color: var(--skm-muted); white-space: nowrap; }
.skm-ats .skm-file-btn { position: relative; overflow: hidden; }
.skm-ats .skm-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.skm-ats .skm-file-btn:focus-within { outline: 3px solid var(--skm-blue); outline-offset: 2px; }
.skm-ats .skm-progress-file { height: 8px; background: #DCE4E7; margin: 0 0 12px; border-radius: 4px; overflow: hidden; }
.skm-ats .skm-progress-fill { height: 100%; width: 0; background: var(--skm-blue); transition: width .2s linear; }

/* Review */
.skm-ats .skm-review-block { padding: 16px 0; border-top: 1px solid var(--skm-line); }
.skm-ats .skm-review-block:first-child { border-top: 0; padding-top: 0; }
.skm-ats .skm-review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.skm-ats .skm-review-head h3 { font-family: var(--skm-heading); font-size: 24px; font-weight: 700; color: var(--skm-ink); margin: 0; }
.skm-ats .skm-review dl { margin: 0; display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 6px 16px; font-size: 15px; }
.skm-ats .skm-review dt { color: var(--skm-muted); margin: 0; }
.skm-ats .skm-review dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.skm-ats .skm-review dd.is-empty { color: #888; font-style: italic; }
.skm-ats .skm-attest { margin-top: 20px; padding: 16px; background: var(--skm-sky) !important; }

/* Signature */
.skm-ats .skm-sig-done {
  border: 2px solid var(--skm-line);
  background: #fff;
  padding: 8px;
  margin: 0 0 10px;
}
.skm-ats .skm-sig-done img { display: block; max-width: 100%; height: auto; }
.skm-ats .skm-sig-open { width: 100%; }

.skm-sigpad {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.skm-sigpad .skm-sigpad-inner {
  background: #fff; width: 100%; max-width: 680px;
  border-top: 5px solid var(--skm-red);
  border-bottom: 5px solid var(--skm-blue);
  padding: 18px 16px;
}
.skm-sigpad .skm-sigpad-title {
  font-family: var(--skm-heading); font-size: 22px; color: var(--skm-ink);
  margin: 0 0 12px;
}
.skm-sigpad .skm-sigpad-area {
  position: relative;
  height: 220px;
  border: 2px solid #9FB6BE;
  background: #fff;
  touch-action: none;
}
.skm-sigpad canvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.skm-sigpad .skm-sigpad-line {
  position: absolute; left: 24px; right: 24px; bottom: 44px;
  border-bottom: 1px solid #C9DEE5; pointer-events: none;
}
.skm-sigpad .skm-sigpad-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.skm-sigpad .skm-btn.is-primary { margin-left: auto; }

@media (max-width: 560px) {
  .skm-sigpad .skm-sigpad-area { height: 180px; }
  .skm-sigpad .skm-sigpad-actions .skm-btn { flex: 1; padding: 12px 10px; }
  .skm-sigpad .skm-btn.is-primary { flex-basis: 100%; margin-left: 0; }
}

/* Honeypot */
.skm-ats .skm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA badge is replaced by the notice under the start form */
.grecaptcha-badge { visibility: hidden; }

/* Phones */
@media (max-width: 560px) {
  .skm-ats { font-size: 16px; }
  .skm-ats .skm-panel { padding: 22px 16px 18px; border-left: 0; border-right: 0; }
  .skm-ats .skm-title { font-size: 31px; }
  .skm-ats .skm-grid > .skm-field.is-half { grid-column: span 4; }
  .skm-ats .skm-grid > .skm-field.is-quarter { grid-column: span 2; }
  .skm-ats .skm-actions { flex-direction: column-reverse; }
  .skm-ats .skm-btn { width: 100%; }
  .skm-ats .skm-btn.is-primary { margin-left: 0; }
  .skm-ats .skm-review dl { grid-template-columns: 1fr; gap: 2px; }
  .skm-ats .skm-review dd { margin-bottom: 10px; }
  .skm-ats .skm-choices.is-many:not(.is-stacked) { display: grid; grid-template-columns: 1fr 1fr; }
  .skm-ats .skm-choices.is-many .skm-choice span { width: 100%; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .skm-ats * { transition: none !important; }
}
