/* ================================
   ROOT SCOPE
================================ */
.gotech-job-board{
  font-family: Inter, Segoe UI, system-ui;
}

/* ================================
   FILTER BAR
================================ */
.gotech-job-board .job-filter{
  display:flex;
  gap:12px;
  margin:30px 0 20px;
}
.gotech-job-board .job-filter button{
  background:#f4f4f4 !important;
  border:1px solid #ccc !important;
  padding:8px 18px !important;
  border-radius:6px !important;
  font-size:14px !important;
  font-weight:600 !important;
  color:#111 !important;
  cursor:pointer;
  opacity:1 !important;
}
.gotech-job-board .job-filter .active{
  background:#b1121a !important;
  color:#fff !important;
  border-color:#b1121a !important;
}

/* ================================
   GRID
================================ */
.gotech-job-board .job-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:28px;
}

/* ================================
   CARD
================================ */
.gotech-job-board .job-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:26px;
  box-shadow:0 8px 28px rgba(0,0,0,.08);
}
.gotech-job-board .job-card h4{
  font-size:13px;
  color:#777;
}
.gotech-job-board .job-card h2{
  font-size:18px;
  font-weight:700;
  margin:8px 0 10px;
}
.gotech-job-board .job-card p{
  font-size:14px;
  line-height:1.6;
  color:#333;
}

/* ================================
   META
================================ */
.gotech-job-board .meta{
  display:flex;
  justify-content:space-between;
  margin-top:12px;
  font-weight:600;
  font-size:14px;
}

/* ================================
   APPLY BUTTON
================================ */
.gotech-job-board .apply-btn{
  margin-top:18px;
  background:#b1121a !important;
  color:#fff !important;
  border:none !important;
  padding:10px 22px !important;
  border-radius:6px !important;
  font-size:14px !important;
  font-weight:600 !important;
  cursor:pointer;
}
.gotech-job-board .apply-btn:hover{
  background:#000 !important;
}

/* ================================
   POPUP OVERLAY
================================ */
.job-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

/* ================================
   POPUP BOX
================================ */
.job-popup .popup-box{
  width: 90%;
    max-width: 850px;
    max-height: 80vh;            /* limit popup height */
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    overflow: hidden;           /* keep popup shape clean */
    display: flex;
    flex-direction: column;
}
#pop-desc {
    overflow-y: auto;           /* enable scrolling */
    max-height: 55vh;           /* scroll area */
    padding-right: 10px;        /* space for scrollbar */
    margin-bottom: 20px;
}
.job-popup h2{
  font-size:22px;
  margin-bottom:10px;
}
.job-popup #pop-desc{
  font-size:14px;
  line-height:1.7;
  color:#333;
}

/* ================================
   POPUP BUTTONS
================================ */
.popup-actions{
  display:flex;
  gap:14px;
  margin-top:24px;
}
.popup-btn{
  background:#b1121a !important;
  color:#fff !important;
  padding:10px 22px !important;
  border-radius:6px !important;
  font-size:14px;
  text-decoration:none;
}
.popup-close{
  background:black  !important;
  border:1px solid #ccc !important;
  padding:10px 22px !important;
  border-radius:6px !important;
  font-size:14px;
  cursor:pointer;
}
.popup-btn:hover,
.popup-close:hover{
  background:#b1121a !important;
  color:#fff !important;
}
