#rn1-ats-app {
    max-width: 1050px;
    margin: 40px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
}

.rn1-hero {
    text-align: center;
    padding: 55px 25px;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    margin-bottom: 25px;
}

.rn1-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #0b67c2;
    color: white;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rn1-hero h1 {
    font-size: 44px;
    margin: 18px 0 12px;
    line-height: 1.1;
}

.rn1-hero p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
}

.rn1-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.rn1-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rn1-step > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0866c6;
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.rn1-step h3 {
    margin: 0 0 4px;
    font-size: 21px;
}

.rn1-step p {
    margin: 0;
    color: #6b7280;
}

#rn1-resume,
#rn1-job-title,
#rn1-jd {
    width: 100%;
    box-sizing: border-box;
}

#rn1-job-title,
#rn1-jd {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
}

#rn1-resume {
    padding: 18px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

#rn1-jd {
    resize: vertical;
}

#rn1-file-status {
    margin-top: 12px;
    color: #475569;
}

.rn1-primary-btn {
    display: inline-block;
    background: #0866c6;
    color: white !important;
    padding: 15px 28px;
    border-radius: 10px;
    border: 0;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.rn1-primary-btn:hover {
    transform: translateY(-2px);
    opacity: .92;
}

.rn1-score-card {
    text-align: center;
    background: #f8fafc;
    padding: 45px 25px;
    border-radius: 24px;
    margin-bottom: 25px;
}

.rn1-score-circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        conic-gradient(
            #ef4444 0deg,
            #f59e0b 180deg,
            #10b981 300deg,
            #e5e7eb 300deg
        );
}

.rn1-score-circle > div {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rn1-score-circle strong {
    font-size: 52px;
}

.rn1-score-circle small {
    font-size: 17px;
    color: #6b7280;
    margin-top: 28px;
}

.rn1-score-card h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.rn1-score-card p {
    color: #6b7280;
    font-size: 17px;
}

.rn1-score-row {
    margin-bottom: 22px;
}

.rn1-score-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rn1-progress {
    height: 12px;
    border-radius: 20px;
    background: #e5e7eb;
    overflow: hidden;
}

.rn1-progress div {
    height: 100%;
    background: #f59e0b;
    border-radius: 20px;
}

.rn1-issue {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: #fff7ed;
    border-left: 5px solid #f97316;
}

.rn1-issue h3 {
    margin: 8px 0;
}

.rn1-issue p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.rn1-issue-level {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rn1-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 20px;
    margin: 4px;
    font-size: 13px;
    font-weight: 600;
}

.rn1-good {
    background: #dcfce7;
    color: #166534;
}

.rn1-bad {
    background: #fee2e2;
    color: #991b1b;
}

.rn1-keyword-summary {
    padding: 18px;
    background: #eff6ff;
    border-radius: 12px;
    margin-bottom: 20px;
}

.rn1-card ol {
    padding-left: 25px;
}

.rn1-card li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.rn1-plan > div {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.rn1-plan strong {
    min-width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0866c6;
    color: white;
    border-radius: 50%;
}

.rn1-plan p {
    margin: 7px 0;
}

.rn1-cta {
    text-align: center;
    padding: 45px 25px;
    background: #0866c6;
    color: white;
    border-radius: 20px;
}

.rn1-cta h2 {
    color: #ffffff !important;
    margin-top: 0;
}

.rn1-cta p {
    max-width: 650px;
    margin: 10px auto 25px;
    line-height: 1.6;
    color: #ffffff;
}

.rn1-cta .rn1-primary-btn {
    background: white;
    color: #0866c6 !important;
}

.rn1-disclaimer {
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    margin-top: 20px;
}

.rn1-loader {
    width: 35px;
    height: 35px;
    border: 4px solid #e5e7eb;
    border-top-color: #0866c6;
    border-radius: 50%;
    animation: rn1spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes rn1spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 700px) {

    #rn1-ats-app {
        margin: 20px 12px;
    }

    .rn1-hero h1 {
        font-size: 32px;
    }

    .rn1-card {
        padding: 20px;
    }

    .rn1-score-circle {
        width: 160px;
        height: 160px;
    }

    .rn1-score-circle > div {
        width: 120px;
        height: 120px;
    }

    .rn1-score-circle strong {
        font-size: 42px;
    }

}
/* ===================================================================
 * v2 additions — accessibility, dropzone, gate, issue severities
 * =================================================================== */

.rn1-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

#rn1-ats-app label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.rn1-help {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.rn1-req { color: #dc2626; }

/* Dropzone */
.rn1-dropzone {
    position: relative;
    border: 2px dashed #93c5fd;
    border-radius: 14px;
    padding: 26px;
    text-align: center;
    transition: background .2s, border-color .2s;
    background: #f8fafc;
}
.rn1-dropzone.rn1-drag {
    background: #eff6ff;
    border-color: #2563eb;
}
.rn1-dropzone input[type="file"] { width: 100%; cursor: pointer; }
.rn1-dropzone-hint { margin: 10px 0 0; color: #6b7280; font-size: 14px; }

/* Inline error */
#rn1-inline-error,
#rn1-gate-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* Confidence line */
.rn1-confidence {
    font-size: 14px;
    color: #6b7280;
    margin-top: 6px;
}

/* Lead gate */
.rn1-gate {
    border: 2px solid #0b67c2;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}
.rn1-gate h2 { margin-top: 0; }
.rn1-gate input {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

/* Skill tag neutral state */
.rn1-tag.rn1-neutral {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

/* Issue severity accents */
.rn1-issue-critical { border-left: 4px solid #dc2626; }
.rn1-issue-high     { border-left: 4px solid #ea580c; }
.rn1-issue-medium   { border-left: 4px solid #d97706; }
.rn1-issue-low      { border-left: 4px solid #2563eb; }

@media (max-width: 640px) {
    .rn1-hero h1 { font-size: 30px; }
    .rn1-card { padding: 20px; }
}

/* ===================================================================
 * Payment gate (QR + UTR)
 * =================================================================== */

.rn1-pay-box {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin: 18px 0 22px;
}
.rn1-pay-qr {
    text-align: center;
    flex: 0 0 auto;
}
.rn1-pay-qr img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
}
.rn1-qr-download {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0b67c2;
    text-decoration: none;
}
.rn1-pay-steps {
    flex: 1 1 260px;
}
.rn1-pay-steps ol {
    margin: 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #374151;
}
#rn1-lead-utr {
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .rn1-pay-box { flex-direction: column; align-items: center; text-align: center; }
    .rn1-pay-steps ol { text-align: left; }
}
