:root { 
  --primaryBG: #111827;
  --secondaryBG: #1E293B;
  --heading:#FFFFFF;
  --subheading:#B0B0B0;
  --text:#E0E0E0;
  --blue:#349DF3;
  --green:#BBDF3D;
  --muted:#757575;
  --defaultFont: "Roboto", sans-serif;
}

/* Base */
body {
  background-color: var(--primaryBG);
  color: var(--text);
  font-family: var(--defaultFont);
}

h1, h2, h3, h4 {
  color: var(--heading);
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* -------------------------------
   JOB DETAILS SECTION
--------------------------------*/
.job-details {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Override section-title from main.css ONLY inside job-details */
.job-details .section-title {
  text-align: left !important;
  padding-bottom: 0 !important;
  position: static !important;
  color: var(--heading);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.4rem;
}

/* Cards */
.job-card,
.sidebar-card {
  background: var(--secondaryBG);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  color: var(--text);
}

/* Job Title */
.job-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--heading);
}

/* Job Meta Icons */
.job-meta-icons {
  color: var(--text);
  font-size: 0.95rem;
}
.job-meta-icons i {
  color: var(--blue);
  margin-right: 6px;
  font-size: 1rem;
}
.job-meta-icons span {
  display: flex;
  align-items: center;
}
.separator {
  color: var(--muted);
}

/* HR Style */
.job-card hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 1.2rem 0;
}

/* Bottom Meta Line */
.job-meta {
  color: var(--subheading);
  font-size: 0.9rem;
}
.job-meta span {
  color: var(--text);
}

/* Apply Button */
.btn-apply {
  background-color: var(--green);
  color: var(--primaryBG);
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 26px;
  text-decoration: none !important;   /* <-- removes underline */
  transition: all 0.3s ease;
}
.btn-apply:hover {
  background-color: #a4c933;
  color: var(--primaryBG);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Skills */
.skill-pill {
  background-color: var(--blue);
  color: var(--heading);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin: 5px 6px 5px 0;
}

/* Share Icons */
.share-icons a {
  color: var(--text);
  font-size: 1.3rem;
  transition: color 0.3s;
}
.share-icons a:hover {
  color: var(--blue);
}

/* Sidebar */
.sidebar-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading);
}
.related-job-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
  margin-bottom: 10px;
}
.related-job-item:last-child {
  border-bottom: none;
}
.related-title a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue);
}
.related-title a:hover {
  color: var(--green);
}

/* Ensure text in sidebar meta is visible */
.related-job-item .text-muted,
.related-job-item span {
  color: var(--subheading) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .job-title {
    font-size: 1.6rem;
  }
  .job-details .section-title {
    font-size: 1.2rem;
  }
}
/* ---------------------------------------------------
   Override <h2> inside job details sections only
--------------------------------------------------- */
.job-card h2 {
  color: var(--heading) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.3 !important;
  text-align: left !important;
  position: relative;
}

/* Optional accent underline for section headings */
.job-card h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 2px;
  margin-top: 0.4rem;
  opacity: 0.9;
}