/* /hire-from-india (Workafy for companies outside India), its pass page and terms
   (resources/views/hire_from_india). Loaded after offers.css and shares its tokens (.wfo):
   Inter, green #057a33 for text and buttons, #00b43d for shapes only, navy #15222d, line
   #e6e7e8, tint #f6f8f7. Each page has one bold element: the clock card (the visitor's day
   next to India's) on the main page, the Charter pass on the pass page. */

.wfg .wfg-tag-icon { color: var(--green); font-size: 16px; }
.wfg .wfo-tag { flex-wrap: wrap; row-gap: 8px; }
.wfg .wfo-tag__state { white-space: nowrap; }

/* ---------------------------------------------------------------- hero: the offer line */
.wfg-offer { margin-top: 26px; max-width: 600px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wfg .wfg-offer__text { font-size: 15.5px; line-height: 24px; color: var(--text); }
.wfg .wfg-offer__text strong { color: var(--ink); }
.wfg-offer .wfg-meter { margin-top: 12px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.wfg-offer .wfo-meter__row strong { font-size: 24px; }

/* ---------------------------------------------------------------- the clock card */
.wfg-clock { margin: 0; padding: 26px 26px 22px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(21, 34, 45, .22); }
.wfg-clock__zones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.wfg-clock__zone { display: grid; gap: 6px; min-width: 0; }
.wfg-clock__zone--india { text-align: right; }
.wfg-clock__label { font-size: 13.5px; font-weight: 600; color: #9fb0bc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wfg-clock__time { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.wfg-clock__zone--india .wfg-clock__time { color: var(--bright); }
.wfg-clock__day { font-size: 14px; color: #c9d3da; }

.wfg-day { --name-col: 76px; --gap: 12px; position: relative; margin-top: 28px; }
.wfg-day__row { display: grid; grid-template-columns: var(--name-col) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.wfg-day__row + .wfg-day__row { margin-top: 10px; }
.wfg-day__name { font-size: 12.5px; font-weight: 600; color: #c9d3da; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wfg-day__track { position: relative; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.wfg-day__seg { position: absolute; top: 0; bottom: 0; display: block; }
.wfg-day__seg--you { background: #fff; }
.wfg-day__seg--india { background: var(--bright); }
.wfg-day__seg--evening { background: repeating-linear-gradient(135deg, rgba(0, 180, 61, .62) 0 4px, rgba(0, 180, 61, .26) 4px 8px); }
.wfg-day__scale { display: flex; justify-content: space-between; margin: 8px 0 0 calc(var(--name-col) + var(--gap)); font-size: 11.5px; color: #8fa0ad; font-variant-numeric: tabular-nums; }
.wfg-day__scale span:first-child { transform: translateX(-2px); }
.wfg-day__scale span:last-child { transform: translateX(2px); }
/* Now, across both tracks */
.wfg-day__now { --now: 0; position: absolute; top: -5px; height: 64px; width: 2px; margin-left: -1px; left: calc(var(--name-col) + var(--gap) + (100% - var(--name-col) - var(--gap)) * var(--now)); background: #fff; border-radius: 2px; box-shadow: 0 0 0 2px var(--ink); }
.wfg-day__now::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 9999px; background: #fff; }

.wfg .wfg-clock__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.wfg-key { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #c9d3da; }
.wfg-key::before { content: ""; width: 10px; height: 10px; border-radius: 2px; }
.wfg-key--you::before { background: #fff; }
.wfg-key--india::before { background: var(--bright); }
.wfg-key--evening::before { background: repeating-linear-gradient(135deg, rgba(0, 180, 61, .8) 0 2px, rgba(0, 180, 61, .3) 2px 4px); }

.wfg-clock__cap { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; line-height: 22px; color: #c9d3da; }
.wfg-clock__cap strong { display: block; margin-bottom: 2px; font-size: 16px; color: #fff; }

/* ---------------------------------------------------------------- an example profile */
.wfg-profile__top { display: flex; align-items: center; gap: 14px; }
.wfg .wfg-profile__name { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); }
.wfg .wfg-profile__role { margin-top: 2px; font-size: 14px; color: var(--text); }
.wfg .wfg-profile__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.wfg-profile__facts dt { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.wfg-profile__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------- the survey */
.wfg-survey-section { scroll-margin-top: 72px; }
.wfg-survey { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.42fr); gap: 56px; align-items: start; }
.wfg-survey__aside { position: sticky; top: 96px; }
.wfg-aside-card { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wfg .wfg-aside-card__title { font-size: 15px; font-weight: 700; color: var(--ink); }
.wfg .wfg-aside-card p + p { margin-top: 6px; font-size: 14.5px; line-height: 22px; color: var(--text); }
.wfg .wfg-aside-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wfg-aside-card li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 21px; color: var(--text); }
.wfg-aside-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 9999px; background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
.wfg-aside-card li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.wfg .wfg-privacy { margin-top: 16px; font-size: 13.5px; line-height: 21px; color: var(--muted); }

.wfg-form { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.wfg-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wfg-alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 14px 16px; border: 1px solid #f1c0bb; border-radius: 10px; background: #fff5f4; color: #8a1c12; }
.wfg-alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.wfg-alert > i { margin-top: 3px; }
.wfg-alert strong { display: block; font-size: 15px; }
.wfg .wfg-alert p { margin-top: 2px; font-size: 14px; line-height: 21px; color: #8a1c12; }

.wfg-block { margin: 0; padding: 0; border: 0; min-width: 0; }
.wfg .wfg-block__title { float: left; width: 100%; margin: 0 0 16px; padding: 0; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--ink); border: 0; }
.wfg-block__title + * { clear: both; }
.wfg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.wfg-field { min-width: 0; }
.wfg .wfg-field > label, .wfg-field__label { display: block; margin-bottom: 7px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.wfg-opt { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.wfg .wfg-input { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c5ccd2; border-radius: 6px; background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.wfg .wfg-input::placeholder { color: #8a949c; }
.wfg .wfg-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(5, 122, 51, .16); }
.wfg .wfg-input[aria-invalid="true"] { border-color: #b42318; }
.wfg .wfg-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315222d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center; cursor: pointer; }
.wfg .wfg-textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.wfg .wfg-help { margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--muted); }
.wfg-field--choices { margin-top: 20px; }

.wfg .wfg-questions { margin: 28px 0 0; padding: 0; list-style: none; }
.wfg-q { padding: 22px 0; border-top: 1px solid var(--line); }
.wfg-q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wfg .wfg-q__title { position: relative; float: left; width: 100%; margin: 0 0 12px; padding: 1px 0 0 38px; border: 0; font-size: 16.5px; line-height: 24px; font-weight: 650; color: var(--ink); }
.wfg-q__title + * { clear: both; }
.wfg-q__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wfg .wfg-q__hint { clear: both; margin: -4px 0 10px 38px; font-size: 13px; color: var(--muted); }
.wfg-q .wfo-choices, .wfg-q .wfg-textarea, .wfg-q .wfo-error { margin-left: 38px; }
.wfg-q .wfg-textarea { width: calc(100% - 38px); }
.wfg-q--invalid .wfo-choice span { border-color: #e2a39d; }
.wfg-q--invalid .wfg-q__num { background: #fde8e6; color: #b42318; }
.wfg .wfo-choice span { min-height: 42px; padding: 0 15px; font-weight: 550; }
.wfg .wfg-choice--many input:checked + span::before { content: ""; width: 9px; height: 5px; margin: -3px 9px 0 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

.wfg-consent { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.wfg .wfg-consent .wfo-confirm { max-width: none; font-weight: 400; }
.wfg .wfg-consent .wfo-error { margin-left: 28px; }
.wfg-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.wfg .wfg-submit p { font-size: 13.5px; color: var(--muted); }
.wfg .wfo-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------- the pass page */
.wfg-passcard { position: relative; overflow: hidden; padding: 28px 28px 24px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(21, 34, 45, .22); }
/* Meridians: a quiet nod to "abroad", drawn as arcs in one corner */
.wfg-passcard::after { content: ""; position: absolute; top: -170px; right: -170px; width: 340px; height: 340px; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, transparent 0 89px, rgba(255, 255, 255, .07) 90px 91px, transparent 92px 129px, rgba(255, 255, 255, .07) 130px 131px, transparent 132px 169px, rgba(255, 255, 255, .07) 170px 171px, transparent 172px); }
.wfg-passcard__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wfg .wfg-passcard__brand { font-size: 15px; font-weight: 800; color: #fff; }
.wfg .wfg-passcard__brand span { margin-left: 6px; font-weight: 650; color: var(--bright); }
.wfg .wfg-passcard__no { padding: 4px 11px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-size: 14px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #fff; }
.wfg .wfg-passcard__company { position: relative; z-index: 1; margin-top: 30px; font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.wfg .wfg-passcard__country { margin-top: 4px; font-size: 14px; color: #c9d3da; }
.wfg .wfg-passcard__months { margin-top: 26px; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.wfg .wfg-passcard__months small { display: block; margin-top: 8px; font-size: 14.5px; line-height: 21px; font-weight: 500; letter-spacing: 0; color: #c9d3da; }
.wfg .wfg-passcard__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .22); }
.wfg-passcard__meta dt { font-size: 12px; font-weight: 500; color: #9fb0bc; }
.wfg-passcard__meta dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.wfg-waitcard { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.wfg .wfg-waitcard__label { display: inline-flex; padding: 3px 10px; border-radius: 9999px; background: #eef1f3; font-size: 13px; font-weight: 650; color: var(--muted); }
.wfg .wfg-waitcard .wfg-passcard__company { margin-top: 18px; color: var(--ink); }
.wfg .wfg-waitcard__text { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--text); }

.wfg-invite .wfo-head { margin-bottom: 28px; }
.wfg-share { max-width: 720px; }
.wfg .wfg-share__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.wfg-share__row { display: flex; gap: 10px; }
.wfg-share__row .wfg-input { flex: 1; min-width: 0; height: 50px; background: var(--tint); font-size: 15px; }
.wfg .wfg-share__status { min-height: 21px; margin-top: 8px; font-size: 13.5px; line-height: 21px; color: var(--green); }
.wfg-share__more { margin-top: 10px; }
.wfg-share__more .fa-linkedin { color: #0a66c2; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 991.98px) {
  .wfg-survey { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wfg-survey__aside { position: static; }
}
@media (max-width: 767.98px) {
  .wfg-clock { padding: 22px 18px 18px; }
  .wfg-clock__time { font-size: 34px; }
  .wfg-day { --name-col: 58px; --gap: 10px; }
  .wfg-form { padding: 22px 18px; }
  .wfg-grid { grid-template-columns: minmax(0, 1fr); }
  .wfg .wfg-q__title { padding-left: 34px; font-size: 16px; }
  .wfg-q .wfo-choices, .wfg-q .wfg-textarea, .wfg-q .wfo-error { margin-left: 0; }
  .wfg-q .wfg-textarea { width: 100%; }
  .wfg .wfg-q__hint { margin-left: 0; }
  .wfg-submit .wfo-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .wfg .wfg-profile__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wfg-passcard { padding: 22px 20px 20px; }
  .wfg .wfg-passcard__months { font-size: 34px; }
  .wfg-share__row { flex-direction: column; }
  .wfg-share__row .wfg-input { flex: none; }
  .wfg-share__row .wfo-btn { width: 100%; }
}
