/* ==========================================================
   New theme overrides for the legacy front pages
   (job openings, job details, sign in / sign up, passwords).
   Selectors are prefixed with .w-theme so they win over the
   inline <style> blocks inside those page views.
   ========================================================== */

.w-theme{ font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
.w-theme body,.w-theme div,.w-theme section,.w-theme h1,.w-theme h2,.w-theme h3,.w-theme h4,.w-theme h5,.w-theme p,.w-theme span,.w-theme a{ font-family:inherit; }

/* ---------- Navbar (undo navbar.css) ---------- */
.w-theme .w-nav .nav-item{ margin-right:0; }
.w-theme .w-nav .nav-item .nav-link{ color:var(--w-ink); font-size:15px; font-weight:400; }
.w-theme .w-nav .nav-item .nav-link:hover{ color:var(--w-green); }
.w-theme .w-nav .navbar-nav .nav-link.active{ color:var(--w-ink); font-weight:700; }
.w-theme .w-nav .navbar-nav{ margin-left:auto; margin-right:auto; justify-content:center; }
.w-theme .w-nav .navbar-toggler{ background:#fff; }
@media (min-width:992px){
    .w-theme .w-nav .navbar-collapse{ display:flex !important; }
}
@media (max-width:991px){
    .w-theme .w-nav .navbar-collapse{ display:none; position:absolute; top:100%; left:12px; right:12px; width:auto; background:#fff; padding:12px; }
    .w-theme .w-nav .navbar-collapse.show,.w-theme .w-nav .navbar-collapse.collapsing{ display:block; }
    .w-theme .w-nav .navbar-nav .nav-item .nav-link{ padding:10px 8px !important; }
    .w-theme .w-nav .dropdown-menu{ position:absolute; background:#fff; box-shadow:var(--w-shadow); }
}

/* ---------- Shared buttons ---------- */
.w-theme .theme-submit-btn,.w-theme .theme-submit-btn-2,.w-theme .theme-reset-btn,.w-theme .theme-cancel-btn,.w-theme .theme-white-btn,.w-theme .web-btn{
    border-radius:6px; font-size:15px; font-weight:500; padding:12px 26px; line-height:1.2;
    border:1px solid transparent; transition:background .15s,color .15s,border-color .15s; display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
.w-theme .theme-submit-btn,.w-theme .theme-submit-btn-2,.w-theme .web-btn{ background:var(--w-green); color:#fff; border-color:var(--w-green); }
.w-theme .theme-submit-btn:hover,.w-theme .theme-submit-btn-2:hover,.w-theme .web-btn:hover{ background:var(--w-green-600); border-color:var(--w-green-600); color:#fff; }
.w-theme .theme-submit-btn-2{ padding:8px 20px; font-size:14px; }
.w-theme .theme-reset-btn,.w-theme .theme-white-btn{ background:#fff; color:var(--w-ink); border-color:#D6DCDA; }
.w-theme .theme-reset-btn:hover,.w-theme .theme-white-btn:hover{ background:#F3F5F4; }
.w-theme .theme-cancel-btn{ background:#fff; color:var(--w-green-dark); border-color:var(--w-green-dark); text-decoration:none; }
.w-theme .theme-cancel-btn:hover{ background:var(--w-green-dark); color:#fff; }

/* ---------- Form controls ---------- */
.w-theme .form-control,.w-theme .form-select{ border-color:#D6DCDA; border-radius:6px; font-size:14px; }
.w-theme .form-control:focus,.w-theme .form-select:focus{ border-color:var(--w-green); box-shadow:0 0 0 3px rgba(82,184,122,.15); }
.w-theme .form-floating > label{ color:var(--w-muted); font-size:14px; }
.w-theme .form-check-input:checked,.w-theme input[type="checkbox"]:checked{ background-color:var(--w-green); border-color:var(--w-green); accent-color:var(--w-green); }
.w-theme input[type="checkbox"]{ accent-color:var(--w-green); }
.w-theme .select2-container--default .select2-selection--single,
.w-theme .select2-container--default .select2-selection--multiple{ border-color:#D6DCDA; border-radius:6px; }
.w-theme .select2-container--default.select2-container--focus .select2-selection--single,
.w-theme .select2-container--default.select2-container--open .select2-selection--single{ border-color:var(--w-green); }

/* ---------- Auth pages (sign in / sign up / passwords) ---------- */
.w-theme .theme-section{ background:#fff; }
.w-theme .theme-data-div{
    padding:40px 56px 24px; text-align:left; min-height:100vh; justify-content:center;
}
.w-theme .theme-data-div > form{ max-width:560px; width:100%; margin:auto; }
.w-theme .org-logo-link{ text-align:left; margin-bottom:12px; }
.w-theme .org-logo-link img,.w-theme .theme-data-div .org-logo{ height:34px; width:auto; }
.w-theme .theme-data-div .w_100[style*="font-size:22px"]{ font-size:28px !important; color:var(--w-ink); }
.w-theme .sign-in-job-seeker{ font-size:15px; color:var(--w-muted); padding:12px 14px; border-bottom:2px solid transparent; display:inline-flex; align-items:center; gap:6px; }
.w-theme .sign-in-job-seeker:hover{ color:var(--w-green); }
.w-theme .sign-in-job-seeker.active-tab{ color:var(--w-green-dark); font-weight:600; border-bottom-color:var(--w-green); }
.w-theme .sign-in-seeker-icon{ height:18px; width:auto; filter:grayscale(1) opacity(.6); }
.w-theme .w-user-tabs{ display:flex; gap:4px; background:var(--w-green-50); border-radius:8px; padding:4px; }
.w-theme .w-user-tab{
    flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px;
    border:0; background:transparent; border-radius:6px; padding:11px 12px;
    font-size:15px; font-weight:500; color:var(--w-muted); transition:background .15s,color .15s;
}
.w-theme .w-user-tab:hover{ color:var(--w-green-dark); }
.w-theme .w-user-tab.active{ background:#fff; color:var(--w-green-dark); font-weight:600; box-shadow:0 1px 4px rgba(16,40,28,.10); }
.w-theme .forgot-password a{ color:var(--w-green-dark); font-weight:500; font-size:14px; }
.w-theme .checkbox-container{ font-size:14px; color:var(--w-muted); align-items:center; }
.w-theme .btn-container{ gap:12px; flex-wrap:wrap; }
.w-theme .powered-by{ margin-top:auto; padding-top:24px; font-size:12px; color:var(--w-muted); }
.w-theme .powered-by p{ text-align:center; margin:0; }
.w-theme .powered-by .power-icon{ height:18px; width:auto; }

.w-theme .theme-img-div{
    background:linear-gradient(180deg,#F0FBF5 0%,#E3F4EA 100%);
    justify-content:flex-start; align-items:flex-start; text-align:left;
    padding:72px 64px 0; overflow:hidden;
}
.w-theme .theme-img-div::before{ display:none; }
.w-theme .theme-img-div::after{
    content:''; position:absolute; left:0; right:0; bottom:0; height:62%;
    background:url('../new-theme/hero-person.png') center bottom / contain no-repeat;
}
.w-theme .theme-img-div *{ color:var(--w-ink); }
.w-theme .theme-img-div .w-100{ width:auto !important; }
.w-theme .theme-img-div .text-lg{ font-size:44px; font-weight:700; color:var(--w-green); line-height:1.2; }
.w-theme .theme-img-div .text-sm{ font-size:32px; font-weight:600; color:var(--w-ink); line-height:1.2; }
.w-theme .theme-img-div img{ display:none; }   /* old decorative flower */
.w-theme .theme-img-div hr,.w-theme .theme-img-div .line{ display:none; }
@media (max-width:991px){
    .w-theme .theme-data-div{ padding:28px 20px !important; min-height:0; }
}

/* ---------- Job openings: hero + filter ---------- */
.w-theme .nav-and-slider-section-2{
    background:linear-gradient(180deg,#F0FBF5 0%,#F3FCF7 100%) !important;
    min-height:0; padding:40px 0 56px;
}
.w-theme .nav-and-slider-section-2::before,.w-theme .nav-and-slider-section-2::after{ display:none; }
.w-theme .job-filter-card{
    background:#fff !important; border:1px solid var(--w-line); border-radius:12px !important;
    box-shadow:0 10px 30px rgba(16,40,28,.07) !important;
}
.w-theme .find-out-sm{ color:var(--w-ink) !important; }
.w-theme .find-job-div-1{ border-color:#D6DCDA !important; border-radius:6px !important; box-shadow:none !important; }
.w-theme .search-input-keyword-1{ font-family:inherit !important; }

/* ---------- Job cards ---------- */
/* One full-width soft band down to the footer (same as the portal); the cards themselves stay white. */
.w-theme .job-openings-page{ background:#F7FAF8; }
.w-theme .job-results-section{ background:transparent; padding-bottom:64px; }
@media (max-width:767px){ .w-theme .job-results-section{ padding-bottom:48px; } }
