/* =====================
   BASE
===================== */
body {
  background-color: #f8f9fa;
}

/* =====================
   SEARCH BAR
===================== */
.job-search {
  background-color: #2f2e45;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.job-search input {
  flex: 1;
  height: 38px;
  border-radius: 6px;
  border: none;
  padding: 0 10px;
  font-size: 0.9rem;
	background:#fff;
}

.job-search button {
  background-color: #be201c;
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 6px;
  height: 38px;
  cursor: pointer;
  transition: 0.3s;
}

.job-search button:hover {
  background-color: #a81815;
}

/* =====================
   LAYOUT
===================== */
.job-wrapper {
  display: flex;
  gap: 20px;
}

.sidebar {
  width: 260px;
  background-color: #2f2e45;
  padding: 15px;
  border-radius: 10px;
  color: #fff;
}

.jobs {
  flex: 1;
}

/* =====================
   FILTER SIDEBAR
===================== */
.sidebar h3 {
  font-size: 1.25rem;
	color:#fff;
  margin-bottom: 10px;
}

.sidebar h4 {
  font-size: 0.95rem;
/*   margin-top: 15px; */
  margin-bottom: 8px;
  border-bottom: 1px solid #d9a758;
  padding-bottom: 4px;
}
.filter-inner-column {
        background-color: #fff;
    padding: 15px;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    color:#333;
}
.sidebar form br {
    display: none;
}
.sidebar label {
      display: flex;
    font-size: 0.85rem;
    /* margin-bottom: 6px; */
    cursor: pointer;
    align-items: center;
    align-self: center;
    gap: 10px;
	color:#333;
}

.sidebar select {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: none;
  margin-bottom: 10px;
}

.sidebar button {
  background-color: #be201c;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.sidebar button:hover {
  background-color: #a81815;
}

/* =====================
   JOB CARD
===================== */
.job-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  border-left: 4px solid #be201c;
}

.job-card:hover {
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.job-card h2 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.job-card p {
  font-size: 0.85rem;
  margin: 6px 0;
  color: #333;
}

/* =====================
   BUTTON
===================== */
.job-more-info {
  background-color: #2f2e45;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.3s;
}

.job-more-info:hover {
  background-color: #be201c;
}

/* =====================
   SHARE ICONS
===================== */
.job-share {
  margin-top: 10px;
}

.job-share a {
  display: inline-block;
  margin-right: 8px;
  font-size: 16px;
  color: #555;
  transition: 0.3s;
}

.job-share a:hover {
  color: #be201c;
}
.filter-inner-column .nice-select {
    font-size: 12px !important;
}

/* =====================
   MODAL
===================== */
#job-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

#job-modal .modal-content {
  background: #fff;
  margin: 60px auto;
  padding: 20px;
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* =====================
   TYPOGRAPHY FIX
===================== */
.job-card p,
#job-modal p {
  text-align: justify;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

  .job-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .job-search {
    flex-direction: column;
  }

  .job-search input {
    width: 100%;
  }

  .job-search button {
    width: 100%;
  }

  .job-card h2 {
    font-size: 1rem;
  }
}