.ats-checker-page {
  background:
    radial-gradient(circle at top left, rgba(5, 150, 105, 0.08), transparent 32rem),
    radial-gradient(circle at top right, rgba(46, 91, 255, 0.06), transparent 28rem),
    var(--bg-secondary, #f8f9fa);
  min-height: calc(100vh - 4rem);
}

.ats-eyebrow {
  align-items: center;
  color: #059669;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ats-title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.ats-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 40rem;
}

.ats-access-strip {
  background: #fff;
  border: 1px solid var(--border-color, #e9ecef);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
  padding: 0.9rem 1.1rem;
}

.ats-access-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ats-access-item .label {
  color: var(--text-muted, #6c757d);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ats-access-item .value {
  font-size: 0.9375rem;
  font-weight: 700;
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.ats-dropzone {
  align-items: center;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 260px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ats-dropzone:hover,
.ats-dropzone:focus-visible,
.ats-dropzone.is-dragover {
  background: #f0fdf4;
  border-color: #059669;
  outline: none;
}

.ats-dropzone.has-file {
  border-color: #059669;
  border-style: solid;
}

.ats-dropzone-icon {
  align-items: center;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-size: 1.75rem;
  height: 56px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 56px;
}

.ats-dropzone-title {
  font-size: 1.125rem;
  font-weight: 700;
}

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

.ats-benefit-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.ats-benefit-list i {
  color: #059669;
  margin-top: 0.15rem;
}

.ats-jd-optional summary {
  cursor: pointer;
}

.ats-jd-optional summary::-webkit-details-marker {
  display: none;
}

.ats-score-ring {
  --score: 0;
  background: conic-gradient(#059669 calc(var(--score) * 1%), #e2e8f0 0);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.85), 0 12px 32px rgba(5, 150, 105, 0.18);
  height: 148px;
  place-items: center;
  transition: background 0.4s ease;
  width: 148px;
  display: grid;
}

.ats-score-ring-inner {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 112px;
  justify-content: center;
  width: 112px;
}

.ats-score-ring-inner strong {
  font-size: 2.25rem;
  line-height: 1;
}

.ats-score-ring-inner span {
  color: var(--text-muted, #6c757d);
  font-size: 0.8125rem;
}

.ats-grade {
  color: #059669;
  font-size: 1.125rem;
}

.ats-subscore-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ats-subscore-item label {
  color: var(--text-muted, #6c757d);
  display: flex;
  font-size: 0.8125rem;
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.ats-subscore-bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.ats-subscore-bar span {
  background: linear-gradient(90deg, #059669, #10b981);
  border-radius: 999px;
  display: block;
  height: 100%;
  transition: width 0.45s ease;
  width: 0;
}

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

.ats-insight-list li {
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.55rem 0;
}

.ats-insight-list li:last-child {
  border-bottom: none;
}

.ats-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ats-keyword-tag {
  background: #fef2f2;
  border-radius: 999px;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
}

.ats-keyword-tag.matched {
  background: #ecfdf5;
  color: #047857;
}

.ats-cta-panel {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), rgba(46, 91, 255, 0.05));
}

.ats-marketing-card {
  background: #fff;
  border: 1px solid var(--border-color, #e9ecef);
  border-radius: 18px;
  padding: 1.5rem;
}

.ats-marketing-card > i {
  color: #059669;
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ats-limit-banner {
  border-radius: 14px;
}

.ats-upload-panel.is-analyzing {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .ats-access-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .ats-checker-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ats-hero {
    margin-bottom: 1.5rem !important;
  }

  .ats-access-strip {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .ats-access-item {
    flex: 1 1 8.5rem;
  }

  .ats-upload-panel,
  .ats-score-card,
  .ats-subscores-card,
  .ats-insight-card,
  .ats-cta-panel {
    border-radius: 18px;
  }

  .ats-upload-panel {
    padding: 1rem !important;
  }

  .ats-dropzone {
    min-height: 210px;
    padding: 1.5rem 1rem;
  }

  .ats-score-ring {
    height: 126px;
    width: 126px;
  }

  .ats-score-ring-inner {
    height: 94px;
    width: 94px;
  }

  .ats-score-ring-inner strong {
    font-size: 1.9rem;
  }

  .ats-subscore-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ats-limit-banner .btn,
  .ats-cta-panel .btn {
    width: 100%;
  }
}

.ats-top-improvements {
  border: 1px solid rgba(46, 91, 255, 0.12);
}

.ats-improvement-block {
  background: rgba(248, 249, 250, 0.85);
  border: 1px solid var(--border-color, #e9ecef);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.ats-improvement-list {
  font-size: 0.875rem;
  line-height: 1.45;
  padding-left: 1.1rem;
}

.ats-improvement-list li + li {
  margin-top: 0.35rem;
}
