/* =============================================
   EIBO CAREER HUB - FREE CAREER TOOLS & RESOURCES
   ============================================= */

.resources-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 207, 255, 0.11), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.09), transparent 26%),
    #050914;
}

.resources-hero {
  padding: 154px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.resources-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 12px 0 16px;
}

.resources-hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #cbd5e1;
  font-size: 1.06rem;
  line-height: 1.75;
}

.resource-jump-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.resource-jump-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 207, 255, 0.22);
  color: #e2e8f0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.resource-jump-pills a:hover {
  background: rgba(0, 207, 255, 0.14);
  border-color: var(--eibo-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.resource-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 100px;
}

.tool-shell {
  background: rgba(11, 16, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 36px;
  margin-top: 28px;
}

/* Career Quiz */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quiz-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.quiz-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.95rem;
}

.quiz-field select:focus {
  border-color: var(--eibo-cyan);
}

.quiz-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quiz-result-box {
  margin-top: 28px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(0, 207, 255, 0.05));
  border: 1px solid rgba(0, 207, 255, 0.3);
}

.quiz-result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.quiz-result-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
}

.quiz-result-box p {
  color: #d6e0ee;
  line-height: 1.75;
  margin-bottom: 16px;
}

.quiz-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.quiz-skill-chip {
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 600;
}

/* ATS Resume Checker */
.resume-checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.resume-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resume-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: var(--transition);
}

.resume-check-item:hover {
  border-color: rgba(0, 207, 255, 0.3);
}

.resume-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #00cfff;
  flex-shrink: 0;
}

.resume-check-item span {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.resume-score-panel {
  padding: 28px;
  border-radius: 18px;
  background: #070b15;
  border: 1px solid rgba(0, 207, 255, 0.22);
  text-align: center;
}

.score-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.14), rgba(30, 144, 255, 0.05));
  border: 4px solid var(--eibo-cyan);
}

.score-ring strong {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: #fff;
}

.score-tips-list {
  text-align: left;
  margin-top: 18px;
  padding-left: 18px;
  list-style: disc;
}

.score-tips-list li {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 7px;
}

/* Salary Benchmarks */
.salary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.salary-filter-btn {
  padding: 9px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.salary-filter-btn.active,
.salary-filter-btn:hover {
  color: #fff;
  background: rgba(0, 207, 255, 0.14);
  border-color: rgba(0, 207, 255, 0.45);
}

.bench-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bench-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.bench-table th {
  text-align: left;
  padding: 14px 16px;
  background: rgba(30, 144, 255, 0.14);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
}

.bench-table td {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.91rem;
  line-height: 1.55;
}

.bench-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Cheat Sheets */
.cheatsheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.cheatsheet-card {
  padding: 28px;
  border-radius: 18px;
  background: rgba(11, 16, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cheatsheet-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cheatsheet-card h3 i {
  color: var(--eibo-cyan);
}

.cheatsheet-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.cheatsheet-card li {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.cheatsheet-card code {
  background: rgba(0, 207, 255, 0.12);
  color: #7dd3fc;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85em;
}

@media (max-width: 920px) {
  .quiz-grid,
  .resume-checker-layout,
  .resume-checklist,
  .cheatsheet-grid {
    grid-template-columns: 1fr;
  }
  .tool-shell {
    padding: 24px 18px;
  }
}
