:root {
  --accent: #e6006e;
  --bg: #f9f9f9;
  --text: #222;
  --border: #e0e0e0;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f8fb;
  color: var(--text);
  margin: 0;
  padding: 0;
}
.header {
  background: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  display: inline-block;
  margin-bottom: 0.2em;
}
.logo .accent {
  color: var(--accent);
  font-weight: 900;
}
.logo, .logo span {
  text-decoration: none !important;
}
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.2rem 0 1.2rem 0;
  color: var(--text);
  letter-spacing: -0.5px;
}
.search-area {
  background: var(--accent);
  padding: 2.5rem 0 2rem 0;
}
.search-box-blue {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5rem 2rem 1.2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.search-box-blue input,
.search-box-blue select {
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  font-size: 1rem;
  flex: 1 1 180px;
  background: #fafafd;
  transition: border 0.2s;
}
.search-box-blue input:focus,
.search-box-blue select:focus {
  border: 1.5px solid #0366b0;
  outline: none;
}
.search-box-blue button,
.btn-green {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 0.4rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  width: 100%;
  transition: background 0.2s;
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.search-box-blue button:hover,
.btn-green:hover {
  background: #b8004e !important;
  color: #fff !important;
}
.job-listing {
  background: #fff;
  border: 1px solid #e3eaf1;
  border-radius: 0.7rem;
  margin: 1.2rem auto;
  max-width: 800px;
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  flex-wrap: wrap;
}
.job-logo img {
  max-width: 70px;
  max-height: 70px;
  border-radius: 0.4rem;
  background: #f3f3f3;
}
.job-info {
  flex: 1;
  min-width: 0;
}
.job-info h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent) !important;
}
.job-info h3 a,
.popular-searches a,
.latest-jobs a,
.popular-jobs a {
  color: var(--accent) !important;
  text-decoration: none;
}
/*.job-info h3 a:hover,
.popular-searches a:hover,
.latest-jobs a:hover,
.popular-jobs a:hover {
  color: #b8004e !important;
}*/
.job-info h3 a:visited,
.popular-searches a:visited,
.latest-jobs a:visited,
.popular-jobs a:visited {
  color: var(--accent) !important;
}
.job-info h3 a:active,
.popular-searches a:active,
.latest-jobs a:active,
.popular-jobs a:active {
  color: var(--accent) !important;
}
.job-meta {
  color: #333 !important;
  font-size: 0.97rem;
  margin-bottom: 0.3rem;
}
.job-date {
  color: #aaa;
  font-size: 0.9rem;
}
.read-more {
  color: var(--accent);
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 1em;
  margin-left: 0.5em;
}
.job-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.job-actions a,
.job-actions a.more-btn,
.job-actions .apply-now-btn {
  color: #fff !important;
}
.job-actions a:visited,
.job-actions a.more-btn:visited,
.job-actions .apply-now-btn:visited,
.job-actions a:active,
.job-actions a.more-btn:active,
.job-actions .apply-now-btn:active,
.job-actions a:focus,
.job-actions a.more-btn:focus,
.job-actions .apply-now-btn:focus {
  color: #fff !important;
}
.job-actions a {
  background: var(--accent);
  color: #fff;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}
.job-actions a.more-btn,
.job-actions .apply-now-btn {
  display: inline-block !important;
  width: auto !important;
  min-width: 110px !important;
  max-width: 180px !important;
  margin: 0 0.2em 0.2em 0 !important;
  align-items: unset !important;
  justify-content: unset !important;
}
.job-actions a.more-btn {
  background: #222;
  color: #fff;
}
.job-actions a.more-btn:hover {
  background: #444;
  color: #fff;
}
.job-actions a.btn-green {
  background: #2ecc40;
  color: #fff;
  border-radius: 0.4rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.job-actions a.btn-green:hover {
  background: #229c2b;
}
@media (max-width: 700px) {
  .search-box-blue {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem;
    max-width: 98vw;
  }
  .search-box-blue input,
  .search-box-blue select {
    width: 100%;
    box-sizing: border-box;
  }
  .search-box-blue .more-search-options,
  .search-box-blue .btn-green {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  .search-box-blue .advanced-fields {
    flex-direction: column;
    gap: 0.5rem;
  }
  .main-section {
    padding: 0.7rem 0.5rem 1rem 0.5rem;
    max-width: 100vw;
  }
  .job-listing {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem;
    min-width: 0;
  }
  .job-logo img {
    max-width: 60px;
    max-height: 60px;
  }
  .job-actions a.apply-now-btn, .job-actions a.more-btn {
    width: 100% !important;
    min-width: 100px !important;
    max-width: 100% !important;
    font-size: 1rem;
    padding: 0.7rem 0.2rem;
    margin: 0 0 0.5em 0 !important;
  }
  .job-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.footer {
  text-align: center;
  color: #fff;
  background: var(--footer-bg, #0B0033);
  padding: 2rem 0 1rem 0;
  margin-top: 3rem;
  font-size: 1.1rem;
}

/* Job Detail Page Styles */
.job-detail-main {
  max-width: 900px;
  margin: 2rem auto 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.job-detail-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.job-detail-logo img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 0.4rem;
  background: #f3f3f3;
}

.job-detail-info {
  flex: 1;
}

.job-detail-info h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.job-detail-meta {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.job-detail-date {
  color: #aaa;
  font-size: 1rem;
}

.job-detail-actions {
  margin: 1.2rem 0 1rem 0;
  display: flex;
  gap: 1rem;
}

.job-detail-actions a {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s;
}

.job-detail-actions a.back {
  background: #222;
}

.job-detail-actions a:hover {
  opacity: 0.85;
}

.job-detail-desc {
  margin: 2rem 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.related-jobs {
  margin-top: 2.5rem;
}

.related-jobs h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .job-detail-header {
    flex-direction: column;
    gap: 1rem;
  }
  .job-detail-main {
    padding: 1rem;
  }
}

.main-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
}

.sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  max-width: 350px;
  margin-left: auto;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .main-content { flex-direction: column; gap: 0; }
  .sidebar {
    margin-top: 2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.7rem;
    padding-left: 0;
    padding-right: 0;
  }
  .main-col {
    max-width: 100%;
    width: 100%;
  }
  .sidebar .job-actions a,
  .sidebar .job-actions .apply-now-btn,
  .sidebar .job-actions a.more-btn {
    min-width: 120px !important;
    max-width: 180px !important;
    width: 100% !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-radius: 0.4rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0.3em 0 !important;
  }
}

.search-box-collapsed {
  
}
.search-box-expanded {
  max-height: 1000px;
}
.search-box-blue .advanced-fields {
  display: none;
}
.search-box-expanded .advanced-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.more-search-options {
  color: var(--accent);
  background: #fff;
  border: 2px solid var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.4rem;
  padding: 0.7rem 2rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: block;
  transition: background 0.2s, color 0.2s;
}
.more-search-options:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 700px) {
  .search-box-collapsed {
    
  }
  .search-box-blue input,
  .search-box-blue select {
    padding: 0.5rem;
    font-size: 1rem;
    min-height: 2em;
    max-height: 2.5em;
  }
  .search-box-blue button,
  .btn-green,
  .more-search-options {
    padding: 0.7rem 1.2rem;
    font-size: 1.05rem;
    min-height: 2.2em;
    max-height: 2.8em;
    width: 100%;
    box-sizing: border-box;
  }
  .search-box-blue .more-search-options,
  .search-box-blue .advanced-fields {
    display: none !important;
  }
  .search-box-blue .btn-green {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
  }
}
.apply-now-btn, .more-btn {
  display: inline-block;
  min-width: 110px;
  max-width: 180px;
  width: auto;
  padding: 0.7rem 1.3rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.4rem;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin: 0 0.2em 0.2em 0;
  vertical-align: middle;
}
.apply-now-btn {
  background: var(--accent);
  color: #fff;
}
.apply-now-btn:hover {
  background: #b8004e;
  color: #fff;
}
.more-btn {
  background: #222;
  color: #fff;
}
.more-btn:hover {
  background: #444;
  color: #fff;
}

.more-options-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.98rem;
  margin-top: 0.3rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .more-options-link {
    display: none;
  }
}

.main-content h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

/* Sidebar popular jobs and searches: only job title links use accent color */
.sidebar .popular-jobs > li > div > a,
.sidebar .popular-searches a {
  /*color: var(--accent) !important;*/
  text-decoration: none;
  font-weight: 600;
}
.sidebar .popular-jobs > li > div > a:hover {
  /*color: #b8004e !important;*/
  text-decoration: none;
}
.sidebar .popular-jobs > li > div > a:visited,
.sidebar .popular-searches a:visited {
  /*color: var(--accent) !important;*/
}
.sidebar .popular-jobs > li > div > a:active,
.sidebar .popular-searches a:active {
  /*color: var(--accent) !important;*/
} 