:root {
  --in-blue: #1261a8;
  --in-blue-dark: #0a3f73;
  --in-blue-deep: #071d33;
  --in-blue-soft: #eaf4fc;
  --in-orange: #f47b20;
  --in-orange-soft: #fff1e7;
  --in-black: #101820;
  --in-gray-900: #1c2733;
  --in-gray-700: #52606d;
  --in-gray-500: #7b8794;
  --in-gray-300: #d9e2ec;
  --in-gray-100: #f5f8fb;
  --in-white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(7, 29, 51, .07);
  --shadow-md: 0 14px 40px rgba(7, 29, 51, .12);
  --shadow-lg: 0 24px 70px rgba(7, 29, 51, .18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; color: var(--in-gray-900); background: var(--in-white); line-height: 1.6; }
a { color: inherit; }

.navbar {
  min-height: 76px;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,226,236,.8) !important;
}
.navbar-brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: -.02em; color: var(--in-black) !important; }

.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--in-blue), var(--in-blue-dark));
  box-shadow: 0 7px 18px rgba(18,97,168,.25); position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; right: -5px; bottom: -5px; background: var(--in-orange); }
.brand-mark i { position: relative; z-index: 1; }

.nav-link { color: var(--in-gray-700) !important; font-weight: 600; padding-left: .9rem !important; padding-right: .9rem !important; }
.nav-link:hover { color: var(--in-blue) !important; }

.btn { border-radius: 10px; font-weight: 700; padding: .72rem 1.15rem; transition: all .2s ease; }
.btn-xc-primary { color: #fff; border-color: var(--in-blue); background: linear-gradient(135deg, var(--in-blue), #1976c9); box-shadow: 0 7px 18px rgba(18,97,168,.2); }
.btn-xc-primary:hover { color: #fff; border-color: var(--in-blue-dark); background: linear-gradient(135deg, var(--in-blue-dark), var(--in-blue)); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18,97,168,.28); }
.btn-outline-xc { color: var(--in-blue); border: 1px solid rgba(18,97,168,.35); background: #fff; }
.btn-outline-xc:hover { color: #fff; border-color: var(--in-blue); background: var(--in-blue); }

.hero-section {
  position: relative; overflow: hidden; color: #fff; padding: 6.2rem 0 7.2rem;
  background: radial-gradient(circle at 85% 15%, rgba(244,123,32,.25), transparent 25%),
              radial-gradient(circle at 15% 90%, rgba(49,143,219,.2), transparent 28%),
              linear-gradient(125deg, #061a2d 0%, #0a3f73 52%, #1261a8 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; letter-spacing: .14em; font-size: .76rem; font-weight: 800; color: #d8edff; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 20px; background: var(--in-orange); }

.search-card {
  position: relative; z-index: 5; margin-top: -3.4rem; padding: 1.05rem;
  background: rgba(255,255,255,.98); border: 1px solid rgba(217,226,236,.85);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.search-card .form-control, .search-card .form-select { min-height: 48px; }

.section-label { color: var(--in-blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-title { letter-spacing: -.03em; }
.section-soft { background: radial-gradient(circle at 10% 10%, rgba(18,97,168,.05), transparent 22%), var(--in-gray-100); }

.job-card {
  position: relative; height: 100%; padding: 1.45rem !important; border: 1px solid #e4ebf2;
  border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden;
}
.job-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--in-blue), var(--in-orange)); transform: scaleX(0);
  transform-origin: left; transition: transform .22s ease;
}
.job-card:hover { border-color: #c7dbea; box-shadow: var(--shadow-md); transform: translateY(-5px); cursor: pointer; }
.job-card:hover::before { transform: scaleX(1); }

.job-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--in-blue-soft); color: var(--in-blue); font-size: 1.15rem; }
.job-tag { display: inline-block; margin-bottom: .65rem; color: var(--in-blue); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.job-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--in-blue); font-weight: 800; text-decoration: none; }
.job-meta-pill { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #dfe7ef; background: #fff; border-radius: 999px; padding: .48rem .85rem; font-size: .82rem; color: var(--in-gray-700); }

.detail-page { min-height: 70vh; display: none; }
.back-link { color: var(--in-blue); font-weight: 700; text-decoration: none; }
.detail-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--in-blue-soft); color: var(--in-blue); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.detail-section { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 1.6rem 1.7rem; box-shadow: 0 10px 28px -22px rgba(7,29,51,.25); }
.detail-rich-content { color: var(--in-gray-700); overflow-wrap: anywhere; word-break: break-word; }
.detail-rich-content p:last-child { margin-bottom: 0; }
.detail-rich-content img { max-width: 100%; height: auto; border-radius: 10px; }
.detail-rich-content table { width: 100%; max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.detail-rich-content table td, .detail-rich-content table th { padding: .5rem; border: 1px solid #dfe7ef; }
.detail-rich-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.detail-rich-content iframe, .detail-rich-content video { max-width: 100%; }
.detail-rich-content ul, .detail-rich-content ol { padding-left: 1.5rem; }

.sidebar-card { border: 1px solid #e3ebf3 !important; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-sm) !important; }
.detail-label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--in-gray-500); font-weight: 800; }
.skills-badge { color: var(--in-blue-dark); background: var(--in-blue-soft); border: 1px solid #cde2f2 !important; font-weight: 700; padding: .55rem .75rem; }

/* Pagination Styles */
.pagination .page-link {
  color: var(--in-blue);
  border-radius: 8px;
  margin: 0 3px;
  font-weight: 600;
  border: 1px solid var(--in-gray-300);
}
.pagination .page-item.active .page-link {
  background-color: var(--in-blue);
  border-color: var(--in-blue);
  color: #fff;
}
.pagination .page-link:hover {
  background-color: var(--in-blue-soft);
  color: var(--in-blue-dark);
}

.footer { background: #071d33; color: rgba(255,255,255,.7); }

/* ==================== APPLICATION MODAL LAYOUT ==================== */
.apply-modal .modal-dialog {
  max-width: min(1140px, 96vw);
  margin: .75rem auto;
}
.apply-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}
.apply-modal .modal-header {
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--in-blue-deep), var(--in-blue));
}
/* The form wraps body + footer, so it must be the flex container */
.apply-modal form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.apply-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.25rem;
}
.apply-modal .modal-footer {
  flex: 0 0 auto;
  background: #fff;
  border-top: 1px solid #e3ebf3;
}
@media (max-width: 575.98px) {
  .apply-modal .modal-header { padding: .9rem; }
  .apply-modal .modal-body   { padding: .9rem; }
  .apply-modal .modal-footer { padding: .75rem; }
}

/* Progress + steps */
.apply-progress { display: flex; gap: .5rem; align-items: center; margin-top: .9rem; }
.apply-progress-step { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.25); }
.apply-progress-step.active, .apply-progress-step.completed { background: var(--in-orange); }
.apply-step-panel { display: none; }
.apply-step-panel.active { display: block; }
.apply-step-indicator { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.85); }

.apply-step {
  border: 1px solid #e3ebf3;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  max-height: none;
}
.apply-step-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  margin-bottom: .85rem;
}
.apply-step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--in-blue);
  font-size: .85rem;
}
.apply-required::after { content: " *"; color: #dc3545; }

/* Camera / video stage: scales with the screen so everything fits */
.camera-stage {
  position: relative;
  background: #071d33;
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
  height: clamp(180px, calc(100dvh - 440px), 420px);
}
.camera-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #071d33;
}
.capture-status {
  font-size: .82rem;
  font-weight: 700;
}
.capture-preview {
  width: 100%;
  max-height: 40vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--in-gray-300);
}
.photo-state {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #c9d5e1;
  border-radius: 10px;
  background: var(--in-gray-100);
  font-size: .8rem;
}

/* Compact front / left / right capture cards */
.shot-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem;
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
}
.shot-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--in-gray-100);
  border: 1px dashed #c9d5e1;
  color: var(--in-gray-500);
  font-size: 1.4rem;
}
.shot-thumb canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-thumb canvas:not(.d-none) ~ .shot-icon { display: none; } /* hide placeholder once captured */
.shot-info { flex: 1 1 auto; min-width: 0; }
.shot-info .photo-status-text { font-size: .72rem; line-height: 1.25; }

@media (max-width: 991.98px) {
  .shot-card  { flex-direction: column; text-align: center; }
  .shot-thumb { flex: 0 0 auto; width: 100%; height: 80px; }
}

/* ============================================================
 * MODERN INNODATA THEME (overrides)
 * ============================================================ */
:root {
  --font: "Manrope", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --line: #e6edf4;
  --ring: 0 0 0 4px rgba(18,97,168,.14);
}
body { font-family: var(--font); background: #fbfcfe; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 800; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid rgba(244,123,32,.55); outline-offset: 2px; }

/* Labels: sentence case instead of shouting caps */
.section-label, .detail-label, .hero-eyebrow { text-transform: none; letter-spacing: 0; }
.section-label { font-size: .88rem; font-weight: 700; }
.detail-label { font-size: .78rem; font-weight: 700; }

/* Navbar & buttons */
.navbar {
  min-height: 72px;
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line) !important;
}
.nav-link { border-radius: 10px; padding: .5rem .9rem !important; }
.nav-link:hover { background: var(--in-blue-soft); }
.btn { border-radius: 12px; padding: .65rem 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.btn-sm { padding: .4rem .8rem; border-radius: 10px; }
.btn-xc-primary {
  background: var(--in-blue);
  border-color: var(--in-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 22px -10px rgba(18,97,168,.7);
}
.btn-xc-primary:hover { background: var(--in-blue-dark); border-color: var(--in-blue-dark); transform: translateY(-1px); }
.btn-xc-primary:disabled, .btn-xc-primary.disabled {
  background: var(--in-gray-300); border-color: var(--in-gray-300); color: var(--in-gray-500);
  box-shadow: none; transform: none; cursor: not-allowed; opacity: 1;
}
.btn-outline-xc { border-color: #cfdcea; }

/* Hero: left aligned, with a "connected network" ring motif */
.hero-section {
  text-align: left;
  padding: 5.5rem 0 8rem;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(244,123,32,.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(49,143,219,.3), transparent 60%),
    linear-gradient(135deg, #061a2d 0%, #0a3f73 60%, #1261a8 100%);
}
.hero-section::before {
  content: ""; position: absolute; right: -140px; top: 50%; width: 560px; height: 560px;
  transform: translateY(-50%); border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.025);
}
.hero-section::after {
  content: ""; position: absolute; right: 412px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--in-orange); box-shadow: 0 0 0 8px rgba(244,123,32,.25);
}
.hero-content { margin: 0; max-width: 700px; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
.hero-content .lead { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 560px; }
.hero-eyebrow {
  padding: .4rem .9rem; border-radius: 999px; font-size: .85rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.hero-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }
.hero-section .btn-light {
  background: var(--in-orange); border-color: var(--in-orange); color: #fff !important;
  box-shadow: 0 14px 28px -12px rgba(244,123,32,.8);
}
.hero-section .btn-light:hover { background: #e06a10; border-color: #e06a10; }
@media (max-width: 991.98px) {
  .hero-section { padding: 4rem 0 6.5rem; }
  .hero-section::before { opacity: .45; right: -300px; }
  .hero-section::after { display: none; }
}

/* Hero text entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp .75s cubic-bezier(.22,.9,.3,1) both;
  animation-delay: var(--hero-delay, 0s);
}
/* Gentle looping pulse on the eyebrow dot, once the entrance finishes */
@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,123,32,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(244,123,32,0); }
}
.hero-eyebrow::before {
  border-radius: 50%;
  animation: heroDotPulse 2.4s ease-in-out .9s infinite;
}
/* Arrow on the hero CTA nudges to invite the click */
@keyframes heroArrowNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.hero-cta-btn i {
  display: inline-block;
  animation: heroArrowNudge 1.6s ease-in-out 1.1s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; }
  .hero-eyebrow::before, .hero-cta-btn i { animation: none; }
}

/* Search bar */
.search-card { margin-top: -3.6rem; padding: .75rem; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(7,29,51,.4); }
.search-card .input-group { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; flex-wrap: nowrap; }
.search-card .input-group:focus-within { border-color: var(--in-blue); box-shadow: var(--ring); }
.search-card .input-group-text { background: transparent; border: 0; color: var(--in-gray-500); }
.search-card .form-control, .search-card .form-select { border: 0; box-shadow: none; background-color: transparent; border-radius: 0; }

/* Sections */
#featured-jobs { background: linear-gradient(180deg, #f1f6fb 0%, #fbfcfe 100%) !important; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* Section heading: icon + title, with a description line underneath */
.section-heading { display: flex; align-items: center; gap: .6rem; }
.section-heading-icon { flex: 0 0 auto; display: inline-flex; color: var(--in-blue); font-size: 1.55rem; line-height: 1; }
.section-heading .section-title { margin: 0; }
.section-desc { margin-top: .5rem; color: var(--in-gray-500); font-size: 1rem; max-width: 560px; }

/* Job cards */
.job-card {
  display: flex; flex-direction: column; padding: 0 !important;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px -18px rgba(7,29,51,.25);
  background: #fff; cursor: pointer;
}
.job-card::before { display: none; }
.job-card:hover { border-color: #b9d3e8; box-shadow: 0 22px 44px -22px rgba(7,29,51,.28); transform: translateY(-3px); }

/* Gradient header banner */
.job-card-header {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: .75rem;
  padding: 1.25rem 1.35rem; min-height: 92px;
  background: linear-gradient(135deg, var(--in-blue) 0%, var(--in-blue-dark) 100%);
  border-radius: 20px 20px 0 0;
}
.job-card-header::before,
.job-card-header::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.job-card-header::before { width: 150px; height: 150px; right: -55px; top: -70px; }
.job-card-header::after { width: 100px; height: 100px; right: -20px; bottom: -55px; }
.job-card-icon {
  position: relative; z-index: 1; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
}
.job-card-title {
  position: relative; z-index: 1; margin: 0; color: #fff; font-size: 1.05rem; font-weight: 800;
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Card body */
.job-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.25rem 1.35rem 1.35rem; }
.job-card-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.meta-pill {
  display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .7rem; border-radius: 999px;
  background: var(--in-gray-100); border: 1px solid var(--line); color: var(--in-gray-700);
  font-size: .76rem; font-weight: 600;
}
.job-card-desc { color: var(--in-gray-700); font-size: .88rem; line-height: 1.55; margin-bottom: 1rem; }
.job-card-skills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.skill-pill {
  padding: .3rem .65rem; border-radius: 999px; background: var(--in-blue-soft); color: var(--in-blue-dark);
  font-size: .74rem; font-weight: 700;
}
.job-card-footer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.rate-label { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--in-gray-500); }
.rate-value { font-size: 1rem; font-weight: 800; color: var(--in-gray-900); }
.job-card-cta {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px;
  background: var(--in-black); color: #fff; font-weight: 700; font-size: .84rem; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.job-card-cta i { transition: transform .2s ease; }
.job-card:hover .job-card-cta { background: var(--in-blue-dark); }
.job-card:hover .job-card-cta i { transform: translate(2px, -2px); }

/* Job card entrance: each card fades/slides/scales in as it enters the viewport,
   staggered via --card-delay (set in JS). .is-visible is added by the IntersectionObserver. */
.job-item {
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.9,.3,1);
  transition-delay: var(--card-delay, 0s);
  will-change: opacity, transform;
}
.job-item.is-visible {
  opacity: 1;
  transform: none;
}

/* Legacy classes kept for non-card usages (value section icons, no-results state) */
.job-icon { border-radius: 14px; background: linear-gradient(135deg, var(--in-blue-soft), #f6fbff); border: 1px solid #d6e8f6; }
.job-tag {
  padding: .25rem .7rem; border-radius: 999px; background: var(--in-blue-soft);
  font-size: .74rem; letter-spacing: 0; text-transform: none;
}

/* Pagination */
.pagination .page-link { min-width: 42px; text-align: center; border-radius: 10px; border-color: var(--line); background: #fff; }
.pagination .page-item.active .page-link { box-shadow: 0 8px 18px -8px rgba(18,97,168,.7); }

/* Detail page */
.detail-page { background: #fbfcfe; }
.job-meta-pill { background: #fff; border-color: var(--line); font-weight: 600; }
.detail-icon { border-radius: 14px; }
.sidebar-card { position: sticky; top: 96px; border-radius: 20px !important; box-shadow: 0 24px 48px -28px rgba(7,29,51,.3) !important; }

/* Job detail hero banner */
.detail-hero {
  position: relative; overflow: hidden; color: #fff; padding: 2.25rem 0 3.5rem;
  background: linear-gradient(135deg, var(--in-blue) 0%, var(--in-blue-dark) 100%);
}
.detail-hero::before, .detail-hero::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); pointer-events: none;
}
.detail-hero::before { width: 440px; height: 440px; right: -170px; top: -240px; }
.detail-hero::after  { width: 260px; height: 260px; right: -60px; bottom: -170px; }
.detail-hero .back-link-light { position: relative; z-index: 1; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; margin-bottom: 1.5rem; text-decoration: none; font-weight: 700; }
.detail-hero .back-link-light:hover { color: #fff; }
.detail-hero-body { position: relative; z-index: 1; display: flex; gap: 1.1rem; align-items: flex-start; }
.detail-hero-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 1.5rem; color: #fff;
}
.detail-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.job-meta-pill-dark { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }

/* Overview callout */
.detail-overview-card {
  background: var(--in-blue-soft); border: 1px solid #d6e8f6; border-radius: 16px;
  padding: 1.3rem 1.5rem; color: var(--in-gray-900); font-size: 1.05rem; margin-top: -2.4rem;
  position: relative; z-index: 2; box-shadow: 0 20px 44px -28px rgba(7,29,51,.35);
}

/* Sidebar: rate highlight + icon detail rows */
.sidebar-rate { text-align: center; padding: .25rem 0 1.1rem; }
.sidebar-rate-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--in-gray-500); }
.sidebar-rate-value { font-size: 1.9rem; font-weight: 800; color: var(--in-blue-dark); line-height: 1.2; }
.sidebar-divider { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.15rem; }
.sidebar-detail-row { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.sidebar-detail-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--in-blue-soft); color: var(--in-blue); font-size: .95rem;
}
@media (max-width: 991.98px) {
  .detail-overview-card { margin-top: 1.25rem; }
}

/* Forms */
.form-control, .form-select { min-height: 46px; padding: .6rem .9rem; border: 1px solid #d5dfe9; border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--in-blue); box-shadow: var(--ring); }
.form-label { margin-bottom: .35rem; font-size: .85rem; font-weight: 700; color: var(--in-gray-900); }
.form-text { font-size: .78rem; }
.alert { border-radius: 12px; border: 0; }

/* Application modal */
.apply-modal .modal-content { border-radius: 24px; }
.apply-modal .modal-header {
  padding: 1.1rem 1.5rem;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(244,123,32,.28), transparent 60%),
    linear-gradient(135deg, #061a2d 0%, #0a3f73 65%, #1261a8 100%);
}
.apply-modal .modal-body { background: #fbfcfe; padding: 1.25rem 1.5rem; }
.apply-modal .modal-footer { padding: .85rem 1.5rem; }
.apply-progress-step { height: 4px; }
.apply-progress-step.completed { background: rgba(244,123,32,.95); }
.apply-step { padding: 0; border: 0; background: transparent; }
.apply-step-title { font-size: 1.15rem; }
.apply-step-number { width: 32px; height: 32px; border-radius: 10px; background: var(--in-orange); }
.camera-stage { border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 36px -24px rgba(7,29,51,.6); }
/* Face guide on the photo camera */
.apply-step-panel[data-step="3"] .camera-stage::after {
  content: ""; position: absolute; inset: 10% 32%; border: 2px dashed rgba(255,255,255,.4);
  border-radius: 50%; pointer-events: none;
}
.shot-card { border-radius: 16px; border-color: var(--line); box-shadow: var(--shadow-sm); }
.shot-thumb { border-radius: 12px; }
.photo-state { border-radius: 12px; }

/* Setup check (camera + microphone test before recording) */
.setup-check { border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.25rem; background: var(--in-gray-100); }
.setup-check-header { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--in-gray-900); margin-bottom: .4rem; }
.setup-check-status { display: flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 700; margin-bottom: .4rem; }
.setup-check-status:last-child { margin-bottom: 0; }
.mic-meter { height: 8px; border-radius: 999px; background: #e3ebf3; overflow: hidden; margin-top: .6rem; }
.mic-meter-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--in-blue), var(--in-orange)); transition: width .08s linear; }

/* Footer */
.footer { background: linear-gradient(180deg, #071d33, #051525); }
.footer-brand { color: #fff; }
.footer-links a { margin: 0 .5rem; color: rgba(255,255,255,.75); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  margin-left: .4rem; border-radius: 12px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.08); transition: background .2s ease;
}
.social-icons a:hover { background: var(--in-orange); }

:root { --nav-h: 76px; --search-h: 0px; }

/* Search bar stays in view on desktop while the results scroll underneath */
.search-sticky { position: relative; z-index: 5; margin-top: -3.6rem; }
.search-sticky .search-card { margin-top: 0; }
@media (min-width: 992px) {
  .search-sticky { position: sticky; top: calc(var(--nav-h) + .6rem); z-index: 1010; }
}
/* Anchors and scrollIntoView stop below the navbar and the sticky search bar */
#featured-jobs, #opportunities { scroll-margin-top: calc(var(--nav-h) + var(--search-h) + 1.25rem); }
#jobGrid { transition: opacity .15s ease; }
#jobGrid.is-loading { opacity: .45; pointer-events: none; }
.btn-clear { border: 0; background: transparent; color: var(--in-gray-500); padding: 0 .85rem; }
.btn-clear:hover { color: var(--in-gray-900); }

/* Sign-in gate shown before the registration form */
.apply-gate { display: none; max-width: 440px; margin: 1.5rem auto; text-align: center; }
.apply-modal.gate-active .apply-gate { display: block; }
.apply-modal.gate-active .apply-step-panel,
.apply-modal.gate-active .modal-footer,
.apply-modal.gate-active .apply-progress,
.apply-modal.gate-active .apply-step-indicator { display: none !important; }
.gate-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--in-blue); background: var(--in-blue-soft); border: 1px solid #d6e8f6;
}
#googleSignInBtn { display: flex; justify-content: center; min-height: 44px; }
.gate-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--in-gray-500); font-size: .85rem; }
.gate-divider::before, .gate-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-verified { display: flex; align-items: center; gap: .4rem; }

/* "Check your inbox" confirmation modal */
.check-inbox-modal { border: 0; border-radius: 22px; }
.check-inbox-icon {
  width: 72px; height: 72px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  color: #1f9d55; background: #e7f8ee; border: 1px solid #bdecd1;
}
#checkInboxEmail { color: var(--in-blue-dark); word-break: break-all; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
} 

/* ===== Data privacy card (sign-in gate) ===== */
.privacy-card {
  text-align: left;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 24, 40, .06);
  overflow: hidden;
}

.privacy-card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, var(--in-blue-soft), #fff 85%);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.privacy-card-badge {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: var(--in-blue);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.privacy-card-title { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.privacy-card-sub   { font-size: .8rem; color: #6c757d; }

.privacy-card-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.15rem .5rem;
  display: grid;
  gap: .75rem;
}

.privacy-card-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.privacy-item-icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--in-orange-soft);
  color: var(--in-orange);
  font-size: 1rem;
}

.privacy-card-list strong { display: block; font-size: .9rem; line-height: 1.25; }
.privacy-card-list span:not(.privacy-item-icon) { display: block; font-size: .78rem; color: #6c757d; }

.privacy-card-foot {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .5rem 1.15rem 1.1rem;
  padding-top: .85rem;
  border-top: 1px dashed rgba(0, 0, 0, .12);
  font-size: .8rem;
  color: #555;
}

.privacy-card-foot > i { color: var(--in-blue); margin-top: .1rem; }

.privacy-card-foot a {
  font-weight: 700;
  color: var(--in-blue);
  text-decoration: none;
  white-space: nowrap;
}
.privacy-card-foot a:hover { text-decoration: underline; }
.privacy-card-foot a i { font-size: .7rem; }

/* Consent checkbox (Step 1) */
.consent-check {
  padding: .85rem .85rem .85rem 2.5rem;
  border: 1px solid #dee2e6;
  border-radius: .75rem;
  background: #fafafa;
}
.consent-check .form-check-input { margin-top: .2rem; }
.consent-check .form-check-input:checked { background-color: var(--in-blue); border-color: var(--in-blue); }
.consent-check:has(.is-invalid) { border-color: #dc3545; background: #fff5f5; }
.consent-check .form-check-input.is-invalid ~ .invalid-feedback { display: block; }