:root {
    --ats-primary: #2563eb;
    --ats-primary-dark: #1d4ed8;
    --ats-ink: #0f172a;
    --ats-muted: #64748b;
    --ats-border: #e2e8f0;
    --ats-surface: #ffffff;
    --ats-soft: #f8fafc;
    --ats-success: #059669;
    --ats-warning: #d97706;
    --ats-danger: #dc2626;
    --ats-radius: 18px;
    --ats-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ats-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.ats-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.ats-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 86px;
    background:
        radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(99, 102, 241, 0.10), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 76%);
    border-bottom: 1px solid #edf2f7;
}

.ats-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 48px;
    align-items: center;
}

.ats-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 18px;
}

.ats-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    max-width: 760px;
}

.ats-hero h1 span {
    color: var(--ats-primary);
}

.ats-hero-copy {
    margin: 22px 0 0;
    color: #475569;
    font-size: 1.12rem;
    max-width: 680px;
}

.ats-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 22px;
    color: #475569;
    font-size: 0.92rem;
}

.ats-hero-note span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ats-hero-note i {
    color: var(--ats-success);
}

.ats-upload-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ats-border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--ats-shadow);
}

.ats-upload-card h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.ats-upload-subtitle {
    margin: 8px 0 20px;
    color: var(--ats-muted);
    font-size: 0.95rem;
}

.ats-dropzone {
    display: block;
    border: 2px dashed #bfdbfe;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    background: #f8fbff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ats-dropzone:hover,
.ats-dropzone.is-dragover {
    border-color: var(--ats-primary);
    background: #eff6ff;
    transform: translateY(-1px);
}

.ats-upload-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #dbeafe;
    color: var(--ats-primary);
    font-size: 1.75rem;
}

.ats-dropzone strong {
    display: block;
    font-size: 1rem;
}

.ats-dropzone small {
    display: block;
    margin-top: 6px;
    color: var(--ats-muted);
}

.ats-file-name {
    min-height: 24px;
    margin-top: 14px;
    text-align: center;
    font-size: 0.9rem;
    color: #475569;
}

.ats-file-name.is-valid {
    color: var(--ats-success);
    font-weight: 600;
}

.ats-file-name.is-invalid {
    color: var(--ats-danger);
    font-weight: 600;
}

.ats-submit {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    background: var(--ats-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ats-submit:hover:not(:disabled) {
    background: var(--ats-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.ats-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ats-privacy-note {
    margin: 14px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 0.78rem;
}

.ats-section {
    padding: 84px 0;
}

.ats-section.soft {
    background: var(--ats-soft);
}

.ats-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.ats-section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.ats-section-heading p {
    margin: 14px auto 0;
    color: var(--ats-muted);
    font-size: 1.03rem;
}

.ats-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ats-check-card {
    padding: 24px;
    border: 1px solid var(--ats-border);
    border-radius: var(--ats-radius);
    background: #fff;
}

.ats-check-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--ats-primary);
    font-size: 1.25rem;
}

.ats-check-card h3 {
    margin: 17px 0 8px;
    font-size: 1.05rem;
}

.ats-check-card p {
    margin: 0;
    color: var(--ats-muted);
    font-size: 0.92rem;
}

.ats-score-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: stretch;
}

.ats-score-card,
.ats-method-card {
    border: 1px solid var(--ats-border);
    border-radius: 22px;
    background: #fff;
    padding: 30px;
}

.ats-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 330px;
}

.ats-score-ring {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--ats-primary) 0 78%, #dbeafe 78% 100%);
    position: relative;
    margin-bottom: 22px;
}

.ats-score-ring::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
}

.ats-score-ring-content {
    position: relative;
    z-index: 1;
}

.ats-score-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.ats-score-total {
    color: var(--ats-muted);
    font-size: .9rem;
}

.ats-score-caption {
    margin: 0;
    color: var(--ats-muted);
}

.ats-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.ats-mini-score {
    border: 1px solid var(--ats-border);
    border-radius: 14px;
    padding: 14px;
}

.ats-mini-score strong {
    display: block;
    font-size: 1.1rem;
}

.ats-mini-score span {
    color: var(--ats-muted);
    font-size: .78rem;
}

.ats-method-card h3 {
    margin-top: 0;
}

.ats-method-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.ats-method-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
}

.ats-method-item>span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--ats-primary);
    font-weight: 700;
    font-size: .86rem;
}

.ats-method-item strong {
    display: block;
    margin-bottom: 2px;
}

.ats-method-item p {
    margin: 0;
    color: var(--ats-muted);
    font-size: .9rem;
}

.ats-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: ats-step;
}

.ats-step {
    position: relative;
    padding: 26px 24px 24px;
    border: 1px solid var(--ats-border);
    border-radius: var(--ats-radius);
    background: #fff;
}

.ats-step-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ats-ink);
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
}

.ats-step h3 {
    margin: 0 0 7px;
    font-size: 1.03rem;
}

.ats-step p {
    margin: 0;
    color: var(--ats-muted);
    font-size: .92rem;
}

.ats-example {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.ats-result-preview {
    border: 1px solid var(--ats-border);
    border-radius: 20px;
    background: #fff;
    padding: 25px;
}

.ats-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.ats-preview-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ats-primary);
}

.ats-status-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: .78rem;
    font-weight: 700;
}

.ats-preview-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid var(--ats-border);
    font-size: .9rem;
}

.ats-preview-row span:last-child {
    font-weight: 700;
}

.ats-preview-good {
    color: var(--ats-success);
}

.ats-preview-warn {
    color: var(--ats-warning);
}

.ats-preview-bad {
    color: var(--ats-danger);
}

.ats-issue-list {
    display: grid;
    gap: 14px;
}

.ats-issue {
    padding: 18px;
    border: 1px solid var(--ats-border);
    border-radius: 16px;
    background: #fff;
}

.ats-issue-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.ats-issue-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.ats-issue.red .ats-issue-dot {
    background: #ef4444;
}

.ats-issue.yellow .ats-issue-dot {
    background: #f59e0b;
}

.ats-issue.green .ats-issue-dot {
    background: #10b981;
}

.ats-issue h3 {
    margin: 0;
    font-size: .96rem;
}

.ats-issue p {
    margin: 6px 0 0;
    color: var(--ats-muted);
    font-size: .88rem;
}

.ats-faq {
    max-width: 860px;
    margin: 0 auto;
}

.ats-faq details {
    border: 1px solid var(--ats-border);
    border-radius: 15px;
    background: #fff;
    padding: 0 18px;
}

.ats-faq details+details {
    margin-top: 11px;
}

.ats-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-weight: 700;
}

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

.ats-faq p {
    margin: 0 0 18px;
    color: var(--ats-muted);
}

.ats-final {
    padding: 78px 0;
    background: #0f172a;
    color: #fff;
}

.ats-final-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ats-final h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
}

.ats-final p {
    margin: 14px auto 26px;
    color: #cbd5e1;
}

.ats-final a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 13px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.ats-disclaimer {
    max-width: 820px;
    margin: 26px auto 0;
    color: #94a3b8;
    font-size: .8rem;
}

@media (max-width: 980px) {

    .ats-hero-grid,
    .ats-score-layout,
    .ats-example {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .ats-hero {
        padding: 54px 0 60px;
    }

    .ats-section {
        padding: 64px 0;
    }

    .ats-check-grid,
    .ats-steps {
        grid-template-columns: 1fr;
    }

    .ats-hero-grid {
        gap: 28px;
    }

    .ats-upload-card {
        padding: 20px;
    }

    .ats-score-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .ats-shell {
        padding: 0 15px;
    }

    .ats-score-grid {
        grid-template-columns: 1fr;
    }

    .ats-hero h1 {
        font-size: 2.3rem;
    }
}

/* ==========================================================================
   ATS results page
   ========================================================================== */
.ats-results-page {
    background: #f5f7fb;
    color: #172033;
}

.ats-results-page .results-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.ats-results-page .results-main {
    padding: 34px 0 70px;
}

.ats-results-page .results-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(16, 24, 40, .07);
}

.ats-results-page .results-hero {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px;
    align-items: stretch;
}

.ats-results-page .results-copy,
.ats-results-page .results-score-card,
.ats-results-page .results-list-card,
.ats-results-page .results-ai {
    padding: 28px;
}

.ats-results-page .results-eyebrow {
    color: #2457ff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ats-results-page .results-copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ats-results-page .results-lead {
    margin: 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.65;
    max-width: 740px;
}

.ats-results-page .results-filename {
    margin-top: 18px;
    padding: 11px 13px;
    border: 1px solid #e6eaf0;
    background: #fafbfc;
    border-radius: 10px;
    color: #667085;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.ats-results-page .results-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ats-results-page .results-btn {
    border: 1px solid #e6eaf0;
    background: #fff;
    color: #172033;
    border-radius: 11px;
    padding: 11px 16px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ats-results-page .results-btn:hover {
    border-color: #cbd5e1;
    color: #172033;
}

.ats-results-page .results-btn.primary {
    background: #2457ff;
    border-color: #2457ff;
    color: #fff;
}

.ats-results-page .results-btn.primary:hover {
    color: #fff;
    opacity: .94;
}

.ats-results-page .results-score-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ats-results-page .results-score-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(#2457ff calc(var(--score) * 1%), #e9edf3 0);
    display: grid;
    place-items: center;
    position: relative;
}

.ats-results-page .results-score-ring::after {
    content: "";
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
}

.ats-results-page .results-score-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.ats-results-page .results-score-number {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.ats-results-page .results-score-label {
    color: #667085;
    font-size: 13px;
    margin-top: 7px;
}

.ats-results-page .results-score-message {
    margin: 18px 0 0;
    font-weight: 700;
    line-height: 1.5;
}

.ats-results-page .results-score-note {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.ats-results-page .results-section {
    margin-top: 26px;
}

.ats-results-page .results-section-head {
    margin-bottom: 14px;
}

.ats-results-page .results-section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.03em;
}

.ats-results-page .results-section-head p {
    margin: 6px 0 0;
    color: #667085;
    line-height: 1.55;
}

.ats-results-page .results-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ats-results-page .results-category {
    padding: 20px;
}

.ats-results-page .results-category-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ats-results-page .results-category h3 {
    margin: 0;
    font-size: 16px;
}

.ats-results-page .results-category-score {
    font-weight: 800;
    white-space: nowrap;
}

.ats-results-page .results-pill {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.ats-results-page .results-pill.good {
    color: #137333;
    background: #ebf7ee;
}

.ats-results-page .results-pill.fair {
    color: #9a6700;
    background: #fff7df;
}

.ats-results-page .results-pill.needs {
    color: #b42318;
    background: #fff0ee;
}

.ats-results-page .results-progress {
    height: 7px;
    margin: 15px 0 13px;
    border-radius: 999px;
    background: #edf0f4;
    overflow: hidden;
}

.ats-results-page .results-progress>span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2457ff;
}

.ats-results-page .results-checks {
    margin: 0;
    padding-left: 18px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.ats-results-page .results-weight {
    margin-top: 12px;
    color: #667085;
    font-size: 12px;
}

.ats-results-page .results-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ats-results-page .results-list-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.ats-results-page .results-finding {
    padding: 13px 0;
    border-top: 1px solid #e6eaf0;
}

.ats-results-page .results-finding:first-child {
    border-top: 0;
    padding-top: 0;
}

.ats-results-page .results-finding-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
    line-height: 1.45;
}

.ats-results-page .results-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.ats-results-page .results-dot.high {
    background: #b42318;
}

.ats-results-page .results-dot.medium {
    background: #9a6700;
}

.ats-results-page .results-dot.low {
    background: #98a2b3;
}

.ats-results-page .results-dot.good {
    background: #137333;
}

.ats-results-page .results-finding p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.ats-results-page .results-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ats-results-page .results-metric {
    padding: 17px;
    text-align: center;
}

.ats-results-page .results-metric strong {
    display: block;
    font-size: 25px;
    letter-spacing: -.03em;
}

.ats-results-page .results-metric span {
    color: #667085;
    font-size: 12px;
}

.ats-results-page .results-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.ats-results-page .results-ai-block {
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    padding: 18px;
}

.ats-results-page .results-ai-block h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

.ats-results-page .results-quality {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 9px;
}

.ats-results-page .results-quality.good {
    background: #ebf7ee;
    color: #137333;
}

.ats-results-page .results-quality.fair {
    background: #fff7df;
    color: #9a6700;
}

.ats-results-page .results-quality.needs {
    background: #fff0ee;
    color: #b42318;
}

.ats-results-page .results-ai-block ul {
    margin: 0;
    padding-left: 18px;
    color: #667085;
    line-height: 1.55;
    font-size: 14px;
}

.ats-results-page .results-inline-point {
    margin: 7px 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.ats-results-page .results-detected {
    margin: 12px 0 0;
    color: #667085;
    font-size: 13px;
}

.ats-results-page .results-bullet-reviews {
    margin-top: 18px;
    border-top: 1px solid #e6eaf0;
    padding-top: 18px;
}

.ats-results-page .results-bullet-reviews h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.ats-results-page .results-bullet-review {
    border-top: 1px solid #e6eaf0;
    padding-top: 13px;
    margin-top: 13px;
}

.ats-results-page .results-bullet-review:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.ats-results-page .results-bullet-review strong {
    display: block;
    font-size: 13px;
}

.ats-results-page .results-bullet-review p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.ats-results-page .results-notice {
    border: 1px solid #dbe5ff;
    background: #eef3ff;
    color: #27428c;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.55;
}

.ats-results-page .results-note {
    margin-top: 28px;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

.ats-results-page .results-empty {
    margin: 0;
    color: #667085;
}

@media (max-width: 900px) {

    .ats-results-page .results-hero,
    .ats-results-page .results-two-col,
    .ats-results-page .results-ai-grid {
        grid-template-columns: 1fr;
    }

    .ats-results-page .results-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ats-results-page .results-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .ats-results-page .results-wrap {
        width: min(100% - 20px, 1120px);
    }

    .ats-results-page .results-main {
        padding-top: 20px;
    }

    .ats-results-page .results-copy,
    .ats-results-page .results-score-card,
    .ats-results-page .results-list-card,
    .ats-results-page .results-ai {
        padding: 20px;
    }

    .ats-results-page .results-grid-3 {
        grid-template-columns: 1fr;
    }

    .ats-results-page .results-actions {
        flex-direction: column;
    }

    .ats-results-page .results-btn {
        width: 100%;
    }
}


/* Job description matching */
.ats-job-match {
    margin-top: 18px;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    padding: 18px;
    background: #fbfcfe;
}

.ats-job-match-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ats-job-match-heading h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.ats-job-match-heading p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    max-width: 760px;
}

.ats-optional-badge {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef3ff;
    color: #3157c7;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ats-job-description {
    width: 100%;
    min-height: 150px;
    border: 1px solid #d7dde7;
    border-radius: 12px;
    padding: 13px 14px;
    resize: vertical;
    background: #fff;
    color: #172033;
    font: inherit;
    line-height: 1.55;
}

.ats-job-description:focus {
    outline: none;
    border-color: #5876d8;
    box-shadow: 0 0 0 3px rgba(88, 118, 216, .12);
}

.ats-job-description-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: #667085;
    font-size: 11px;
}

.results-job-match-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.results-job-score-card,
.results-job-summary {
    padding: 20px;
}

.results-job-score-card {
    display: flex;
    align-items: center;
    gap: 18px;
}

.results-job-score {
    font-size: 42px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.05em;
}

.results-job-score span {
    font-size: 16px;
    color: #667085;
    font-weight: 700;
    letter-spacing: 0;
}

.results-job-score-card h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.results-job-score-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.results-job-summary {
    display: flex;
    align-items: center;
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
    background: #f8f9fc;
}

.results-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.results-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.results-chip.good {
    background: #ebf7ee;
    color: #137333;
}

.results-chip.warn {
    background: #fff5df;
    color: #8a5a00;
}

.results-job-recommendations {
    margin-top: 14px;
}

.results-job-recommendations ol {
    margin: 0;
    padding-left: 20px;
    color: #667085;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width:700px) {

    .ats-job-match-heading,
    .ats-job-description-footer {
        flex-direction: column;
    }

    .results-job-match-hero {
        grid-template-columns: 1fr;
    }
}



.ats-usage-note {
    margin: 0 0 18px;
    padding: 11px 13px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #334155;
    font-size: .84rem;
    line-height: 1.5;
}

.ats-usage-note i {
    color: var(--ats-primary);
    margin-right: 5px;
}

.ats-usage-note strong {
    color: #172033;
}

.ats-usage-note span {
    display: block;
    margin-top: 2px;
    color: #64748b;
}

.ats-usage-note.is-limit-reached {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.ats-usage-note.is-limit-reached i {
    color: #dc2626;
}

.ats-usage-note.is-limit-reached strong {
    color: #991b1b;
}

.ats-usage-note.is-limit-reached span {
    color: #b91c1c;
}

.ats-dropzone.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.ats-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}