/* SEARCH BAR */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 25px auto; /* Centers the search bar */
}

.search-container i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
}

.search-container input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 16px;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-container input:focus {
  outline: none;
  border-color: #0b7a33;
  box-shadow: 0 0 10px rgba(11, 122, 51, 0.15);
}


/* JOB BOARD FILTERS */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: white;
  color: #555;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #0b7a33;
  color: #0b7a33;
}

.filter-btn.active {
  background: #0b7a33;
  color: white;
  border-color: #0b7a33;
  box-shadow: 0 4px 10px rgba(11, 122, 51, 0.3);
}

/* JOB BOARD CARDS */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job {
  background: white;
  padding: 25px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.job:hover {
  border-color: #d1d1d1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.job.active {
  border-left: 6px solid #0b7a33;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.job-header h3 {
  margin: 0;
  font-size: 22px;
  color: #222;
  font-weight: 600;
}

/* Meta Data (Location, Company, Salary icons) */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #595959;
}

.job-meta i {
  color: #888;
  margin-right: 5px;
}

.tag {
  background: #f3f4f6;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

.job-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Toggle Button */
.view-btn {
  background: none;
  border: none;
  color: #0b7a33;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  font-size: 14px;
}

.view-btn i {
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.job.active .view-btn i {
  transform: rotate(180deg);
}

.view-btn:hover {
  text-decoration: underline;
}

/* HIDDEN CONTENT (Smooth Animation) */
.job-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.job.active .job-content {
  max-height: 1000px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  opacity: 1;
}

.job-content h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.job-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.apply {
  display: inline-block;
  background: #0b7a33;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
  font-size: 14px;
}

.apply:hover {
  background: #085c26;
  color: white;
  text-decoration: none;
}

a:link, a:visited {
  color: rgb(228, 226, 226); /* Replace 'blue' with your desired hex code or color name */
}