

.error-highlight {
    border: 2px solid #dc2626 !important;
    background-color: #fee2e2 !important;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3) !important;
}
.radio-group label.error-highlight {
    border: 2px solid #dc2626 !important;
    background-color: #fee2e2 !important;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Generic radio styling – applies everywhere */
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    accent-color: #3498db; /* modern browsers */
    vertical-align: middle;
    cursor: pointer;
}

/* Primary request radio cards */
.radio-group {
    display: grid;
    gap: 16px;
    margin-bottom: 10px;
}

.radio-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #f8f9ff;
    border: 2px solid transparent;
    transition: all 0.2s;
}

/* Let the text stack nicely next to the radio */
.radio-group label strong {
    display: block;
    margin-bottom: 2px;
}

.radio-group label small {
    display: block;
    color: #666;
}

/* Hover state on cards */
.radio-group label:hover {
    border-color: #3498db;
    background: #eef5ff;
}

/* Error highlight for primary request cards */
.radio-group label.error-highlight {
    border: 2px solid #dc2626 !important;
    background-color: #fee2e2 !important;
}

/* Checkbox / yes-no radios (e.g. supervisoryInfo) */
.checkbox-item {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #3498db;
    vertical-align: middle;
}

.checkbox-item label {
    display: inline;
    font-weight: normal;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.intro {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3498db;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-item {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
    margin-right: 10px;
    width: auto;
}

.checkbox-item label {
    display: inline;
    font-weight: normal;
}

.help-text {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
    font-style: italic;
}

.verification-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

button[type="submit"] {
    background: #3498db;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #2980b9;
}

.privacy-notice {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
    font-size: 13px;
    color: #7f8c8d;
}

.right-description {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
    padding-left: 28px;
}

.conditional-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 3px solid #3498db;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }
}