/* Job Fit Analyzer */

.job-fit-analyzer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: 110px;
}

/* ---------------- Header ---------------- */

.analyzer-header {
  text-align: center;
  margin-bottom: 30px;
}

.analyzer-header h1 {
  font-size: 28px;
  margin: 0;
}

.analyzer-subtitle {
  opacity: 0.75;
  margin-top: 6px;
}

/* ---------------- Cards ---------------- */

.analyzer-card {
  background: linear-gradient(145deg, #0b1624, #0e1d2f);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.resume-card,
.jd-card {
  margin-bottom: 20px;
}

.resume-card h3,
.jd-card h3 {
  margin-bottom: 10px;
  color: #9fe3c3;
}

.resume-status {
  padding: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.resume-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.save-resume-option {
  font-size: 13px;
  opacity: 0.85;
}

.jd-card textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  resize: vertical;
}

/* ---------------- Action ---------------- */

.analyzer-action {
  text-align: center;
  margin-top: 20px;
}

.analyzer-action button {
  background: #1fc88a;
  color: #002b1b;
  border: none;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.analyzer-action button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------------- Results ---------------- */

.analyzer-results {
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(145deg, #0c1828, #101f35);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.analyzer-results h2 {
  margin-bottom: 22px;
}

/* ---------------- Result Blocks ---------------- */

.result-block {
  margin-bottom: 30px;
}

.result-block:last-child {
  margin-bottom: 0;
}

/* Divider between sections */

.result-block:not(:first-child) {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---------------- SECTION TITLES (B / C / D FIX) ---------------- */

.section-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #e6fdf2;
  margin-bottom: 14px;
}

/* Match Score heading */

.score-block h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #e6fdf2;
  margin-bottom: 14px;
}

/* ---------------- Match Score Layout ---------------- */

/* Correct flex container */
.score-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Left: score */
.match-score {
  font-size: 52px;
  font-weight: 800;
  color: #1fc88a;
  white-space: nowrap;
}

.match-score::after {
  content: " match";
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 8px;
}

/* Right: conclusion */
.analysis-conclusion {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.9;
  max-width: 520px;
}

/* ---------------- Analyzer Lists ---------------- */

.analyzer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.analyzer-list li {
  padding: 12px 16px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}

/* Semantic accents */

.matching-skills .analyzer-list li {
  border-left: 4px solid #1fc88a;
}

.missing-skills .analyzer-list li {
  border-left: 4px solid #ffb020;
}

.ats-improvements .analyzer-list li {
  border-left: 4px solid #ff6b6b;
}

/* ---------------- Mobile ---------------- */

@media (max-width: 700px) {
  .score-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .analysis-conclusion {
    max-width: 100%;
  }

  .match-score {
    font-size: 40px;
  }
}
