/* =========================================================
   NZ World Careers — Site Design System
   A plain, dense, functional look for a working job board:
   flat colors, thin borders, no gradients or glass effects,
   minimal shadows, compact spacing. Used across all public
   facing pages (home, jobs, application, search, about,
   contact, auth) and the applicant dashboard.
   ========================================================= */

:root{
  /* Brand colors matched to mynztrip.com (same NZ World Travel parent
     brand): --nz-color #0000aa is their primary blue, --nz-orange
     #ec921b is their accent color. */
  --navy-900:#00006e;
  --navy-800:#0000aa;
  --navy-700:#1414c2;
  --navy-050:#e6e6f7;
  --amber-700:#ec921b;
  --amber-050:#fdeed9;
  --green-700:#166534;
  --green-050:#e9f6ee;
  --red-700:#b42318;
  --red-050:#fdecea;
  --ink-900:#1c1e21;
  --ink-700:#3a3d42;
  --ink-500:#5c6066;
  --ink-300:#82868c;
  --line-200:#d7dade;
  --line-100:#e9ebee;
  --surface:#ffffff;
  --surface-soft:#f4f5f6;
  --radius-md:4px;
  --radius-sm:3px;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-head:var(--font-body);
}

/* ---------- Base ---------- */
#wrapper.home-page{
  font-family:var(--font-body);
  color:var(--ink-700);
  background:var(--surface);
  font-size:14px;
}
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5{
  font-family:var(--font-head);
  color:var(--ink-900);
  font-weight:700;
}
#wrapper.home-page #content{
  background:var(--surface);
  padding-bottom:10px;
}
.container.content{ padding-top:32px; padding-bottom:40px; }

#wrapper.home-page *:focus{ outline:2px solid var(--navy-700); outline-offset:1px; }

/* ---------- Utility ---------- */
.text-navy{ color:var(--navy-800) !important; }
.text-muted-soft{ color:var(--ink-500); }
.bg-soft{ background:var(--surface-soft); }

/* ---------- Page hero banner (inner pages) ---------- */
.page-hero{
  background:var(--navy-900);
  padding:36px 0;
  margin-bottom:0;
  border-bottom:3px solid var(--navy-700);
}
.page-hero h1{
  color:#fff;
  font-size:24px;
  margin:0 0 6px;
}
.page-hero .breadcrumb-modern{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:6px;
  font-size:12.5px; color:rgba(255,255,255,.68);
}
.page-hero .breadcrumb-modern li a{ color:rgba(255,255,255,.85); text-decoration:none; }
.page-hero .breadcrumb-modern li a:hover{ color:#fff; text-decoration:underline; }
.page-hero .breadcrumb-modern li + li::before{ content:"/"; margin-right:6px; color:rgba(255,255,255,.4); }
.page-hero p.lead-note{ color:rgba(255,255,255,.8); max-width:640px; margin-top:6px; }

/* ---------- Section heading ---------- */
.section-head{ text-align:center; max-width:680px; margin:0 auto 28px; }
.section-head .eyebrow{
  display:block;
  font-size:11.5px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; color:var(--navy-800);
  margin-bottom:8px;
}
.section-head h2{ font-size:22px; margin:0 0 8px; }
.section-head p{ color:var(--ink-500); font-size:13.5px; margin:0; }
.section-head.light .eyebrow{ color:#bcd3e8; }
.section-head.light h2{ color:#fff; }
.section-head.light p{ color:rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn-nz{
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  padding:9px 18px; border-radius:var(--radius-md); font-weight:600; font-size:13.5px;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease; line-height:1.2;
}
.btn-nz:focus{ text-decoration:none; }
.btn-nz-primary{ background:var(--navy-800); color:#fff; border-color:var(--navy-800); }
.btn-nz-primary:hover{ background:var(--navy-900); border-color:var(--navy-900); color:#fff; text-decoration:none; }
.btn-nz-gold{ background:var(--amber-700); color:#fff; border-color:var(--amber-700); }
.btn-nz-gold:hover{ background:#a56613; border-color:#a56613; color:#fff; text-decoration:none; }
.btn-nz-outline{ border-color:rgba(255,255,255,.5); color:#fff; background:transparent; }
.btn-nz-outline:hover{ background:rgba(255,255,255,.12); color:#fff; text-decoration:none; }
.btn-nz-outline-navy{ border-color:var(--line-200); color:var(--navy-800); background:#fff; }
.btn-nz-outline-navy:hover{ background:var(--navy-050); border-color:var(--navy-800); color:var(--navy-800); text-decoration:none; }
.btn-nz-sm{ padding:6px 14px; font-size:12.5px; }
.btn-nz-block{ width:100%; }
.btn-nz[disabled], .btn-nz.disabled{ opacity:.55; cursor:not-allowed; pointer-events:none; }

/* legacy classnames used inline in views -> map to new button look */
.btn-main, .btn-next-tab{
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:var(--radius-md); font-weight:600; font-size:13.5px;
  background:var(--navy-800); color:#fff !important; text-decoration:none !important;
  border:1px solid var(--navy-800); transition:background-color .15s;
}
.btn-main:hover, .btn-next-tab:hover{ background:var(--navy-900); }

/* ---------- Chips / Badges (single flat tone - no rainbow rotation) ---------- */
.chip{
  display:inline-flex; align-items:center; gap:5px;
  font-size:12px; font-weight:600; padding:3px 9px; border-radius:var(--radius-sm);
  background:var(--line-100); color:var(--ink-700); border:1px solid var(--line-200);
}
.chip i{ font-size:11px; }
.chip-navy{ background:var(--navy-050); color:var(--navy-800); border-color:#ccccee; }
.chip-gold{ background:var(--amber-050); color:#8a4e00; border-color:#f6d9ad; }
.chip-emerald{ background:var(--green-050); color:var(--green-700); border-color:#c7e6d2; }

/* rotating category classes kept for HTML compatibility; all resolve to the
   same flat tone by design (no per-category rainbow colouring). */
.chip-c1, .chip-c2, .chip-c3, .chip-c4,
.chip-c5, .chip-c6, .chip-c7, .chip-c8{
  background:var(--line-100); color:var(--ink-700);
}

.icon-tile{
  width:40px; height:40px; min-width:40px; border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  font-size:17px; background:var(--navy-050); color:var(--navy-800);
}

/* ---------- Stats row ---------- */
.stats-row{ background:#fff; }
.stat-box{
  text-align:center; padding:14px 10px; border-right:1px solid var(--line-200);
}
.stat-box:last-child{ border-right:none; }
.stat-box .num{ font-family:var(--font-head); font-size:24px; font-weight:700; color:var(--navy-800); line-height:1; }
.stat-box .lbl{ font-size:12px; color:var(--ink-500); margin-top:5px; }

/* ---------- Search bar (hero) ---------- */
.hero-search-card{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:6px; display:flex; flex-wrap:wrap; gap:6px; align-items:stretch;
}
.hero-search-card .form-control{
  height:42px; border-radius:var(--radius-sm); border:1px solid var(--line-200); box-shadow:none;
}
.hero-search-card .form-control:focus{ border-color:var(--navy-800); box-shadow:none; }
.hero-search-card .field{ flex:1 1 220px; position:relative; min-width:0; }
.hero-search-card .field.field-category{ flex:0 0 200px; }
.hero-search-card .field i{ position:absolute; left:12px; top:14px; color:var(--ink-300); }
.hero-search-card .field .form-control{ padding-left:32px; }
.hero-search-card .btn-nz{ height:42px; flex:0 0 auto; padding-left:22px; padding-right:22px; }

/* Phones: a fixed-width field (field-category) can't shrink, so on narrow
   viewports it and the keyword field are forced onto separate lines from
   flex-wrap anyway - make that intentional and full-width instead of an
   accidental, cramped wrap, and stack the button full-width too. */
@media (max-width:640px){
  .hero-search-card{ flex-direction:column; }
  .hero-search-card .field,
  .hero-search-card .field.field-category{ flex:1 1 auto; width:100%; }
  .hero-search-card .btn-nz{ width:100%; justify-content:center; }
}

/* ---------- Category list (home) ---------- */
.cat-grid{ display:flex; flex-wrap:wrap; margin:0 -8px; }
.cat-col{ padding:8px; }
.cat-card{
  display:flex; align-items:center; gap:12px;
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:14px; text-decoration:none !important; color:var(--ink-900);
  transition:border-color .15s ease, background-color .15s ease; height:100%;
}
.cat-card:hover{ border-color:var(--navy-800); background:var(--navy-050); }
.cat-card b{ display:block; font-size:14px; font-weight:700; color:var(--ink-900); }
.cat-card span.cat-count{ font-size:12px; color:var(--ink-500); font-weight:500; }
.cat-card i.fa{ font-size:18px; }

/* Phones: keep categories in a 2-column grid (Bootstrap's col-xs-6 handles
   the columns themselves) but tighten the card so two fit comfortably
   without crowding or text wrapping awkwardly. */
@media (max-width:480px){
  .cat-col{ padding:6px; }
  .cat-card{ padding:10px; gap:8px; }
  .cat-card .icon-tile{ width:32px; height:32px; min-width:32px; font-size:14px; }
  .cat-card b{ font-size:12.5px; line-height:1.3; }
  .cat-card span.cat-count{ font-size:11px; }
}

/* ---------- Job list rows ---------- */
.job-list{ display:flex; flex-direction:column; border:1px solid var(--line-200); border-radius:var(--radius-md); overflow:hidden; }
.job-card{
  display:flex; gap:16px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap;
  background:#fff; padding:16px 18px; border-bottom:1px solid var(--line-200);
  transition:background-color .12s ease;
}
.job-list .job-card:last-child{ border-bottom:none; }
.job-card:hover{ background:var(--surface-soft); }
.job-card .job-logo{ display:none; }
.job-card .job-main{ flex:1 1 380px; min-width:0; }
.job-card .job-title{ font-size:16px; font-weight:700; margin:0 0 3px; }
.job-card .job-title a{ color:var(--navy-800); text-decoration:none; }
.job-card .job-title a:hover{ text-decoration:underline; }
.job-card .job-company{ color:var(--ink-700); font-size:13px; margin-bottom:8px; }
.job-card .job-company i{ margin-right:4px; color:var(--ink-300); }
.job-card .job-meta{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:4px; }
.job-card .job-side{ text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:130px; }
.job-card .job-date{ font-size:12px; color:var(--ink-300); }
.job-card .job-desc{ margin-top:8px; font-size:13px; color:var(--ink-500); line-height:1.6; }
.job-card .job-desc, .job-card .job-desc p{ margin-bottom:0; }

@media (max-width:640px){
  .job-card{ flex-direction:column; }
  .job-card .job-side{ align-items:flex-start; width:100%; flex-direction:row; justify-content:space-between; }
}

.empty-state{
  text-align:center; padding:44px 20px; background:var(--surface-soft);
  border:1px solid var(--line-200); border-radius:var(--radius-md); color:var(--ink-500);
}
.empty-state i{ font-size:30px; color:var(--ink-300); margin-bottom:10px; display:block; }
.empty-state h4{ color:var(--ink-700); margin-bottom:6px; }

/* ---------- Filter / search panel (advance search etc.) ---------- */
.filter-panel{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:24px;
}
.filter-panel .form-control, .filter-panel select.form-control{
  height:40px; border-radius:var(--radius-sm); border:1px solid var(--line-200); box-shadow:none; font-size:13.5px;
}
.filter-panel label{ font-weight:600; font-size:12.5px; color:var(--ink-700); text-transform:uppercase; letter-spacing:.3px; }
.filter-panel .row{ margin-bottom:14px; }

/* ---------- Job detail page ---------- */
.job-detail-head{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:22px; margin-bottom:18px;
  display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap;
}
.job-detail-head .job-logo{ display:none; }
.job-detail-head h1{ font-size:22px; margin:0 0 6px; }
.job-detail-head .job-company{ font-size:14px; color:var(--ink-500); margin-bottom:12px; }
.job-detail-head .meta-chips{ display:flex; flex-wrap:wrap; gap:6px; }

.detail-panel{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:22px; margin-bottom:18px;
}
.detail-panel h3{ font-size:15px; margin:0 0 12px; padding-bottom:10px; border-bottom:1px solid var(--line-100); }
.detail-panel .rich-text{ color:var(--ink-700); font-size:13.5px; line-height:1.75; white-space:pre-line; }

.sidebar-card{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md);
  padding:20px; margin-bottom:18px;
}
.sidebar-card h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--ink-500); margin:0 0 14px; }
.sidebar-card .info-row{ display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:13px; }
.sidebar-card .info-row i{ color:var(--navy-800); width:16px; text-align:center; margin-top:2px; }
.sidebar-card .info-row .k{ display:block; color:var(--ink-300); font-size:11px; text-transform:uppercase; letter-spacing:.3px; }
.sidebar-card .info-row .v{ color:var(--ink-900); font-weight:600; }
.sidebar-apply{
  background:#fff; border:1px solid var(--line-200); border-top:3px solid var(--navy-800);
  border-radius:var(--radius-md); padding:22px; margin-bottom:18px; text-align:center;
}
.sidebar-apply h4{ color:var(--ink-500); text-transform:uppercase; font-size:12.5px; letter-spacing:.4px; margin:0 0 8px; }
.sidebar-apply .salary{ font-size:22px; font-weight:700; font-family:var(--font-head); margin-bottom:4px; color:var(--ink-900); }
.sidebar-apply .salary-note{ font-size:12px; color:var(--ink-300); margin-bottom:16px; }

/* ---------- Panels used in application form / registration ---------- */
.job-summary-card{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md); overflow:hidden;
  margin-bottom:20px;
}
.job-summary-card .jsc-head{
  background:var(--navy-800);
  color:#fff; padding:16px 20px;
}
.job-summary-card .jsc-head a{ color:#fff; text-decoration:none; font-size:16px; font-weight:700; }
.job-summary-card .jsc-body{ padding:18px 20px; }
.job-summary-card .jsc-body ul{ list-style:none; padding:0; margin:0 0 12px; }
.job-summary-card .jsc-body ul li{ padding:5px 0; font-size:13px; color:var(--ink-700); border-bottom:1px dashed var(--line-100); }
.job-summary-card .jsc-body ul li:last-child{ border-bottom:none; }
.job-summary-card .jsc-body ul li i{ width:18px; color:var(--navy-800); margin-right:5px; }
.job-summary-card .jsc-body p{ font-size:12.5px; color:var(--ink-500); margin:0 0 5px; }
.job-summary-card .jsc-foot{ padding:12px 20px; background:var(--surface-soft); font-size:12px; color:var(--ink-500); border-top:1px solid var(--line-200); }

/* ---------- Generic content card (used by category/hiring headers) ---------- */
.list-toolbar{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
  margin-bottom:16px;
}
.list-toolbar h2{ font-size:18px; margin:0; }
.list-toolbar .count-note{ font-size:13px; color:var(--ink-500); }

/* ---------- About page ---------- */
.about-hero-img{ border-radius:var(--radius-md); border:1px solid var(--line-200); width:100%; }
.about-text h3{ font-size:21px; margin-bottom:12px; }
.about-text p{ font-size:13.5px; line-height:1.75; color:var(--ink-700); }

.feature-box{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md); padding:22px;
  height:100%; transition:border-color .15s;
}
.feature-box:hover{ border-color:var(--navy-800); }
.feature-box .icon-tile{ margin-bottom:14px; }
.feature-box h3{ font-size:15.5px; margin:0 0 8px; }
.feature-box p{ font-size:13px; color:var(--ink-500); line-height:1.65; margin:0; }

.accordion-modern .panel{
  border:1px solid var(--line-200); border-radius:var(--radius-sm) !important; margin-bottom:10px;
  box-shadow:none; overflow:hidden;
}
.accordion-modern .panel-heading{ background:var(--surface-soft); padding:0; border:none; }
.accordion-modern .panel-title a{
  display:block; padding:12px 16px; font-size:13.5px; font-weight:600; color:var(--ink-900);
  text-decoration:none;
}
.accordion-modern .panel-title a i{ color:var(--navy-800); margin-right:7px; }
.accordion-modern .panel-body{ font-size:13px; color:var(--ink-500); line-height:1.65; padding:14px 16px; }

.skill-bar-row{ margin-bottom:16px; }
.skill-bar-row .skill-label{ display:flex; justify-content:space-between; font-size:12.5px; font-weight:600; color:var(--ink-700); margin-bottom:5px; }
.skill-bar-track{ background:var(--line-100); border-radius:var(--radius-sm); height:6px; overflow:hidden; }
.skill-bar-fill{ height:100%; background:var(--navy-800); }

/* ---------- Contact page ---------- */
.contact-info-card{
  background:var(--navy-900);
  color:#fff; border-radius:var(--radius-md); padding:28px; height:100%;
}
.contact-info-card h3{ color:#fff; font-size:19px; margin-bottom:6px; }
.contact-info-card p.sub{ color:rgba(255,255,255,.68); font-size:13px; margin-bottom:22px; }
.contact-info-card .info-row{ display:flex; gap:12px; align-items:flex-start; margin-bottom:18px; }
.contact-info-card .info-row .ic{
  width:34px; height:34px; min-width:34px; border-radius:var(--radius-sm); background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.contact-info-card .info-row .txt{ font-size:13px; line-height:1.6; color:rgba(255,255,255,.9); }
.contact-info-card .info-row .txt strong{ display:block; color:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.3px; margin-bottom:2px; }
.contact-info-card .social-row{ display:flex; gap:8px; margin-top:22px; }
.contact-info-card .social-row a{
  width:32px; height:32px; border-radius:var(--radius-sm); background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; color:#fff; transition:background-color .15s;
}
.contact-info-card .social-row a:hover{ background:rgba(255,255,255,.22); }

.contact-form-card{
  background:#fff; border:1px solid var(--line-200); border-radius:var(--radius-md); padding:28px;
  height:100%;
}
.contact-form-card h3{ font-size:17px; margin-bottom:18px; }
.contact-form-card .form-control{
  border-radius:var(--radius-sm); border:1px solid var(--line-200); box-shadow:none; height:42px; font-size:13.5px;
}
.contact-form-card textarea.form-control{ height:auto; }
.contact-form-card .form-control:focus{ border-color:var(--navy-800); box-shadow:none; }
.contact-form-card .form-group{ margin-bottom:16px; }
.map-frame-wrap{ border-radius:var(--radius-md); border:1px solid var(--line-200); overflow:hidden; height:100%; min-height:300px; }
.map-frame-wrap iframe{ width:100%; height:100%; min-height:300px; display:block; border:0; filter:grayscale(15%); }

/* ---------- Misc ---------- */
.divider-soft{ height:1px; background:var(--line-100); margin:24px 0; }
.cta-band{
  background:var(--navy-900);
  border-radius:var(--radius-md); padding:36px; color:#fff; text-align:center;
}
.cta-band h2{ color:#fff; font-size:22px; margin-bottom:10px; }
.cta-band p{ color:rgba(255,255,255,.78); max-width:520px; margin:0 auto 20px; }

/* ---------- Footer (brand blue - mynztrip.com's primary color) ---------- */
.home-page footer{
  background:var(--navy-900);
  color:rgba(255,255,255,.82);
}
.home-page footer a{ color:#fff; }
.home-page footer a:hover, .home-page footer h5 a:hover{ color:#fff; text-decoration:underline; }
.home-page footer h1, .home-page footer h2, .home-page footer h3,
.home-page footer h4, .home-page footer h5, .home-page footer h6{ color:#fff; }
.home-page footer address{ color:rgba(255,255,255,.7); }
.home-page #sub-footer{
  background:var(--navy-900);
  border-top:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.7);
}
.home-page #sub-footer span{ color:rgba(255,255,255,.6); }
.home-page footer ul.social-network li{ border-color:rgba(255,255,255,.3); }
.home-page footer ul.social-network li a{ color:#fff; }
.home-page footer ul.social-network li:hover{ border-color:#fff; background:rgba(255,255,255,.12); }

.home-page footer .widgetheading{
  color:#fff;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.4px;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.home-page footer .link-list li{ margin-bottom:8px; }
.home-page footer .link-list li a{ color:rgba(255,255,255,.68); font-size:13px; }
.home-page footer .link-list li a:hover{ color:#fff; }

@media (max-width:767px){
  .page-hero{ padding:28px 0; }
  .page-hero h1{ font-size:20px; }
  .stat-box{ border-right:none; border-bottom:1px solid var(--line-200); }
  .job-detail-head{ flex-direction:column; }
}
