/* ===========================
   GLOBAL CONTAINER
=========================== */
.job-listing-container {
  max-width: 1320px;

  padding: 40px 20px;
  min-height: 100vh;

  /* background: linear-gradient(-45deg, #e0f7fa, #f0f9ff, #d0f0fd, #c3f5f8);
  background-size: 400% 400%;
  animation: gradientBG 18s ease infinite; */
}

/* @keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
} */

/* ===========================
   JOB CARD (Uniform Height)
=========================== */
.job-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(0, 188, 212, 0.15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures button stays at bottom */
  height: 100%; /* Full height in grid */
}

.job-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 188, 212, 0.25);
}

/* Job Title */
.job-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0f172a;
  position: relative;
}

.job-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 45px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00bcd4, #0284c7);
}

/* Job Info */
.job-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.job-card p::before {
  content: "▹";
  color: #00bcd4;
  font-weight: bold;
}

/* Tags */
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.job-tags span {
  background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
  color: #0284c7;
  padding: 7px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.job-tags span:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  transform: scale(1.08);
}

/* Salary Badge */
.salary-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #e0f7fa, #ccfbf1);
  color: #006064;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 150, 180, 0.25);
}

/* View Details Button */
.view-details-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  color: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 188, 212, 0.35);
}

.view-details-btn:hover {
  background: linear-gradient(135deg, #0097a7, #006064);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 150, 180, 0.45);
}




/* ===========================
   FILTER SIDEBAR (Premium UI)
=========================== */
.job-filters-sidebar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  width: 280px;
  position: sticky;
  /* top: 20px; */
  height: fit-content;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.job-filters-sidebar h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
  border-left: 4px solid #0ea5e9;
  padding-left: 10px;
}

.job-filters-sidebar h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 5px 0 10px;
  color: #1e293b;
}

/* Search box */
.job-search-input {
  width: 100%;
  /* padding: 12px 14px; */
  /* margin-bottom: 18px; */
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.job-search-input:focus {
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

/* Checkbox Group */
.job-filters-sidebar label {
  /* display: flex; */
  align-items: center;
  gap: 8px;
  /* font-size: 0.92rem; */
  margin-bottom: 0px;
  color: #334155;
  cursor: pointer;
  transition: color 0.3s ease;
}

.job-filters-sidebar label:hover {
  color: #0ea5e9;
}

.job-filters-sidebar input[type="checkbox"] {
  accent-color: #0ea5e9;
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.job-filters-sidebar input[type="checkbox"]:hover {
  transform: scale(1.15);
}

/* Apply Button */
.job-filter-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
  cursor: pointer;
}

.job-filter-btn:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(14,165,233,0.35);
}


/* ===========================
   FILTER SIDEBAR (Sticky)
=========================== */
.job-filters-sidebar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  width: 280px;
  position: sticky;
  top: 20px;
  height: fit-content;
  animation: fadeIn 0.6s ease-in-out;
}




/* ===========================
   LAYOUT
=========================== */
.job-layout {
  display: flex;
  gap: 28px;
  max-width: 1300px;
  margin: auto;
  padding: 30px 20px;
}

.job-listings-wrapper {
  flex: 1;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch; /* Ensures same height cards */
}

@media (max-width: 992px) {
  .job-layout { flex-direction: column; }
  .job-listings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .job-listings { grid-template-columns: 1fr; }
}




/* ===========================
   JOB LISTINGS LAYOUT
=========================== */
.job-layout {
  display: flex;
  gap: 28px;
  max-width: 1300px;
  margin: auto;
  padding: 30px 20px;
}

.job-listings-wrapper {
  flex: 1;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
  .job-layout {
    flex-direction: column;
  }
  .job-listings {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .job-listings {
    grid-template-columns: 1fr;
  }
}


/************* single-job-listing.php **********************/
.single-job-listing {
    max-width: 100% !important;
    width: 100% !important;
    padding: 50px 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.single-job-listing h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1e293b;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #e16944;
    display: inline-block;
    padding-bottom: 8px;
}

.job-details {
    background: #fff;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-details:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.job-details p {
    font-size: 18px;
    margin: 14px 0;
    color: #475569;
    line-height: 1.7;
}

.job-details strong {
    color: #0f172a;
    font-weight: 700;
}

.job-description {
    margin-top: 35px;
    line-height: 1.8;
    color: #334155;
    font-size: 17px;
    padding-left: 5px;
    border-left: 4px solid #e16944;
}

.apply-btn {
    display: inline-block;
    margin-top: 35px;
    background: linear-gradient(135deg, #e16944, #f97316);
    color: #fff;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 15px rgba(225,105,68,0.35);
}

.apply-btn:hover {
    background: linear-gradient(135deg, #cc5432, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(225,105,68,0.45);
    color: #fff;
}


