/* Guest "Post Walk-in Jobs" flow — static design (no backend) */
.wg { --wg-ink:#0b1b3f; --wg-navy:#1660e8; --wg-violet:#1660e8; --wg-line:#e3e9f4; --wg-muted:#5b6b8c; --wg-bg:#f6f8fc;
  background: var(--wg-bg); padding: 28px 0 60px; font-family: var(--fm-font, system-ui, sans-serif); color: var(--wg-ink); }
/* .wg-wrap also carries Bootstrap's .container so its width matches the header */
.wg-wrap { margin: 0 auto; }
.wg-screen { display: none; }
.wg-screen.active { display: block; animation: wgIn .25s ease; }
@keyframes wgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wg-card { background: #fff; border: 1px solid var(--wg-line); border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px -14px rgba(11,27,63,.18); }
.wg h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; text-align: center; margin: 0 0 8px; }
.wg h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.wg-sub { color: var(--wg-muted); text-align: center; font-size: 17px; margin-bottom: 22px; }
.wg-lead { color: var(--wg-muted); margin-bottom: 16px; }

/* start screen */
.wg-steps { list-style: none; padding: 0; margin: 0 0 22px; border: 1px solid var(--wg-line); border-radius: 14px; }
.wg-steps li { display: flex; gap: 14px; padding: 16px; border-bottom: 1px solid var(--wg-line); }
.wg-steps li:last-child { border-bottom: 0; }
.wg-steps .n { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #dbe8ff; color: var(--wg-violet); font-weight: 800; display: grid; place-items: center; }
.wg-steps b { display: block; }
.wg-steps span { color: var(--wg-muted); font-size: 14px; }

/* buttons */
.wg-btn { display: block; width: 100%; border: 0; border-radius: 10px; background: var(--wg-navy); color: #fff; font-weight: 700; padding: 14px 18px; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; }
.wg-btn:hover { background: #0f4fc7; color: #fff; }
.wg-btn[disabled] { opacity: .5; cursor: not-allowed; }
.wg-btn-ghost { background: #fff; color: var(--wg-violet); border: 1.5px solid var(--wg-violet); }
.wg-btn-ghost:hover { background: #eef4ff; color: var(--wg-violet); }
.wg-btn-sm { display: inline-block; width: auto; padding: 10px 16px; font-size: 14px; }
.wg-link { display: block; text-align: center; margin-top: 12px; color: var(--wg-violet); font-weight: 600; background: none; border: 0; width: 100%; cursor: pointer; }
.wg-note { text-align: center; color: var(--wg-muted); font-size: 13px; margin-top: 10px; }

/* progress */
.wg-progress { display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; max-width: 260px; }
.wg-progress .dot { width: 26px; height: 26px; border-radius: 50%; background: #e5e7eb; color: #6b7280; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.wg-progress .dot.active { background: var(--wg-violet); color: #fff; }
.wg-progress .dot.done { background: #1660e8; color: #fff; }
.wg-progress .bar { flex: 1; height: 3px; background: #e5e7eb; }
.wg-progress .bar.done { background: #1660e8; }
.wg-progress-label { text-align: center; color: var(--wg-violet); font-size: 14px; font-weight: 600; margin-bottom: 16px; }

/* forms */
.wg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wg-field { margin-bottom: 12px; }
.wg-field.full { grid-column: 1 / -1; }
.wg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.wg label i { color: #dc2626; font-style: normal; }
.wg input[type=text], .wg input[type=email], .wg input[type=tel], .wg input[type=date], .wg input[type=time], .wg select, .wg textarea {
  width: 100%; border: 1px solid #d5dbe8; border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; color: var(--wg-ink); }
.wg textarea { min-height: 70px; resize: vertical; }
.wg input:focus, .wg select:focus, .wg textarea:focus { outline: 2px solid #a9c6fb; border-color: var(--wg-violet); }
.wg-inline { display: flex; gap: 10px; }
.wg-inline input { flex: 1; }
.wg-otp { display: flex; gap: 8px; margin-bottom: 6px; }
.wg-otp input { width: 100%; max-width: 48px; text-align: center; font-size: 18px; padding: 10px 0; }
.wg-hint { font-size: 12px; color: var(--wg-muted); margin-bottom: 12px; }
.wg-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 8px 0; }
.wg-check input { margin-top: 3px; accent-color: var(--wg-violet); }
.wg-check label { font-weight: 400; margin: 0; }
.wg-check a { color: var(--wg-violet); text-decoration: underline; }

/* job cards */
.wg-job { border: 1px solid #c9dcfb; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.wg-job-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #eef4ff; padding: 10px 14px; cursor: pointer; font-weight: 700; color: var(--wg-navy); }
.wg-job-head small { font-weight: 400; color: var(--wg-muted); display: block; }
.wg-job-act { display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.wg-job-act .rm { color: #dc2626; background: none; border: 0; cursor: pointer; }
.wg-job-body { padding: 14px; }
.wg-job.collapsed .wg-job-body { display: none; }
/* consistent control height + spacing */
.wg input[type=text], .wg input[type=email], .wg input[type=tel], .wg input[type=date], .wg input[type=time], .wg select, .wg .wg-ms-btn {
  box-sizing: border-box; height: 46px; line-height: 1.2; padding-top: 0; padding-bottom: 0; margin: 0; }
.wg .wg-grid { gap: 0 14px; }
.wg .wg-field { margin-bottom: 16px; }
.wg .wg-field label { margin-bottom: 6px; line-height: 1.3; }
.wg .wg-field > .wg-hint, .wg .wg-field .wg-hint { margin: 6px 0 0; line-height: 1.3; }
.wg .wg-job-body { padding-bottom: 0; }
.wg .wg-inline input { height: 46px; }
.wg .wg-inline .wg-btn-sm { height: 46px; padding-top: 0; padding-bottom: 0; }
.wg .wg-otp input { height: 46px; padding: 0; }

.wg-venue-fields { grid-column: 1 / -1; background: #f8fafd; border: 1px solid var(--wg-line); border-radius: 12px; padding: 14px 14px 0; margin-bottom: 16px; }

/* multi-select dropdown (subjects) */
.wg-ms { position: relative; }
.wg-ms-btn { width: 100%; text-align: left; border: 1px solid #d5dbe8; border-radius: 8px; padding: 10px 34px 10px 12px; font-size: 14px; background: #fff; color: var(--wg-ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.wg-ms-btn::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid #6b7280; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wg-ms.disabled .wg-ms-btn { background: #f6f8fc; color: #9ca3af; cursor: not-allowed; }
.wg-ms-panel { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 220px; overflow-y: auto; background: #fff; border: 1px solid #d5dbe8; border-radius: 8px; box-shadow: 0 10px 24px -10px rgba(11,27,63,.25); padding: 6px; }
.wg-ms.open .wg-ms-panel { display: block; }
.wg .wg-ms-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 6px; font-weight: 400; font-size: 14px; cursor: pointer; }
.wg-ms-opt:hover { background: #eef4ff; }
.wg-ms-opt input { accent-color: var(--wg-violet); margin: 0; }
.wg-ms-opt input:disabled + span { color: #9ca3af; }
.wg-job { overflow: visible; }
.wg-job-head { border-radius: 11px 11px 0 0; }
.wg-job.collapsed .wg-job-head { border-radius: 11px; }
.wg-section-title { color: var(--wg-violet); font-weight: 800; margin: 18px 0 2px; font-size: 17px; }

/* plans */
.wg-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.wg-plan { position: relative; border: 2px solid var(--wg-line); border-radius: 16px; padding: 20px 16px; background: #fff; cursor: pointer; text-align: left; transition: .15s; }
.wg-plan:hover { border-color: #a9c6fb; }
.wg-plan.selected { border-color: var(--wg-violet); box-shadow: 0 0 0 4px #dbe8ff; }
.wg-plan .tag { position: absolute; top: -11px; right: 14px; background: var(--wg-violet); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.wg-plan h3 { font-size: 18px; margin: 0 0 4px; font-weight: 800; }
.wg-plan .price { font-size: 28px; font-weight: 800; }
.wg-plan .price small { font-size: 13px; color: var(--wg-muted); font-weight: 500; }
.wg-plan ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.wg-plan li { padding: 4px 0 4px 22px; position: relative; }
.wg-plan li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.wg-plan li.off { color: #9ca3af; }
.wg-plan li.off::before { content: "–"; color: #9ca3af; }

/* success / instructions */
.wg-success { text-align: center; margin-bottom: 20px; }
.wg-success .tick { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 32px; display: grid; place-items: center; margin: 0 auto 12px; }
.wg-ref { display: inline-block; background: #eef4ff; color: var(--wg-violet); font-weight: 700; padding: 6px 14px; border-radius: 99px; margin-top: 6px; }
.wg-instr { counter-reset: i; list-style: none; padding: 0; margin: 0 0 20px; }
.wg-instr li { counter-increment: i; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--wg-line); }
.wg-instr li:last-child { border: 0; }
.wg-instr li::before { content: counter(i); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: #dbe8ff; color: var(--wg-violet); font-weight: 800; display: grid; place-items: center; }
.wg-instr b { display: block; }
.wg-instr span { color: var(--wg-muted); font-size: 14px; }
.wg-terms { border: 1px solid var(--wg-line); border-radius: 12px; background: #f8fafd; padding: 16px; }
.wg-terms h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.wg-terms-box { max-height: 170px; overflow-y: auto; font-size: 13px; color: var(--wg-ink); background: #fff; border: 1px solid var(--wg-line); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.wg-terms-box ol { padding-left: 18px; margin: 0; }
.wg-terms-box li { margin-bottom: 6px; }

/* steps 1-3: intro left, form right */
.wg-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.wg-layout.no-side { grid-template-columns: minmax(0, 760px); justify-content: center; }
.wg-layout.no-side .wg-split-left { display: none; }
.wg-split-right { min-width: 0; }
.wg-split-left { position: sticky; top: 24px; padding-top: 24px; }
.wg-split-left h1, .wg-split-left .wg-sub { text-align: left;line-height: 1.2; }
.wg-split-left h1 { font-size: clamp(30px, 3.6vw, 42px); }
.wg-split-left .wg-steps { background: #fff; margin-bottom: 0; }
@media (max-width: 900px) {
  .wg-layout { grid-template-columns: 1fr; gap: 20px; }
  .wg-split-left { position: static; padding-top: 0; }
}

@media (max-width: 640px) {
  .wg-grid { grid-template-columns: 1fr; }
  .wg-plans { grid-template-columns: 1fr; }
  .wg-card { padding: 18px 14px; }
}

/* Resend verification code */
.wg-resend { font-size: 12.5px; color: var(--wg-muted); margin: 6px 0 0; }
.wg-resend button { border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: #1660e8; text-decoration: underline; cursor: pointer; }
.wg-resend button:disabled { color: var(--wg-muted); text-decoration: none; cursor: default; opacity: .7; }
