.pnrs-form-wrapper {
    max-width: 840px;
    margin: 24px auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    font-family: inherit;
    color: #0f172a;
}

.pnrs-hp-wrap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.pnrs-form-header {
    text-align: center;
    margin-bottom: 22px;
}

.pnrs-form-header h2 {
    display: inline-block;
    margin: 0;
    padding: 8px 26px;
    border: 2px solid #0f172a;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.pnrs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pnrs-col-full {
    grid-column: 1 / -1;
}

.pnrs-field-group {
    display: flex;
    flex-direction: column;
}

.pnrs-field-group > label,
.pnrs-disease-header > label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #1e293b;
}

.pnrs-req {
    color: #dc2626;
    font-weight: 700;
}

.pnrs-sub-hint {
    color: #64748b;
    font-weight: 500;
    font-size: 12px;
}

.pnrs-bn-hint {
    color: #b91c1c;
    font-weight: 600;
    font-size: 13px;
}

.pnrs-field-group input[type="text"],
.pnrs-field-group input[type="email"],
.pnrs-field-group input[type="tel"],
.pnrs-field-group input[type="number"],
.pnrs-field-group select,
.pnrs-field-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.pnrs-field-group input:focus,
.pnrs-field-group select:focus,
.pnrs-field-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.pnrs-age-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pnrs-age-unit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pnrs-age-unit input {
    text-align: center;
    font-weight: 600;
}

.pnrs-age-unit span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.pnrs-radio-row {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 42px;
}

.pnrs-radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.pnrs-radio-pill:has(input:checked) {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 600;
}

.pnrs-disease-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.pnrs-disease-counter {
    font-size: 12px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 10px;
    border-radius: 999px;
}

.pnrs-disease-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pnrs-disease-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.15s ease;
}

.pnrs-disease-item:hover:not(.is-disabled) {
    border-color: #0284c7;
    background: #f0f9ff;
}

.pnrs-disease-item.is-selected {
    border-color: #0284c7;
    background: #e0f2fe;
    font-weight: 600;
    color: #0c4a6e;
}

.pnrs-disease-item.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pnrs-disease-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #0284c7;
    flex-shrink: 0;
}

.pnrs-office-callout {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1.5px solid #dc2626;
    border-radius: 6px;
    background: #fef2f2;
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.5;
}

.pnrs-office-phone {
    margin-top: 4px;
    color: #b91c1c;
    font-size: 15px;
}

.pnrs-actions {
    margin-top: 22px;
}

.pnrs-submit-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 13px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.pnrs-submit-btn:hover {
    background: #0369a1;
}

.pnrs-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.pnrs-alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.pnrs-alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

@media (max-width: 640px) {
    .pnrs-grid,
    .pnrs-disease-grid,
    .pnrs-age-boxes {
        grid-template-columns: 1fr;
    }
}


.pnrs-field-group input[type="url"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.pnrs-field-group input[type="url"]:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.pnrs-conditional-box {
    background: #f8fafc;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    border-radius: 8px;
    padding: 16px 18px;
}

.pnrs-section-subtitle {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0369a1;
}


.pnrs-locked-category-badge {
    display: inline-block;
    padding: 10px 14px;
    background: #e0f2fe;
    border: 1px solid #0284c7;
    border-radius: 6px;
    color: #0c4a6e;
    font-weight: 700;
    font-size: 15px;
}
