/* Candidate Self-Registration - Independent Stylesheet */

.reg-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    padding: 70px 0 50px;
}

.reg-shell {
    max-width: 960px;
    margin: -40px auto 60px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.15);
    padding: 36px 40px;
    position: relative;
    z-index: 2;
}

.step-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.step-progress .step {
    flex: 1 1 130px;
    padding: 10px 12px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.step-progress .step.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.step-progress .step.done {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

.step-pane {
    display: none;
}

.step-pane.active {
    display: block;
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d6efd;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin: 24px 0 18px;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

.repeater-item {
    border: 1px dashed #ced4da;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 14px;
    background: #fafbfc;
}

.repeater-item .remove-row {
    cursor: pointer;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
}

.repeater-item .remove-row:hover {
    text-decoration: underline;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 10px;
}

.help-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback,
.error-text {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Standalone page wrapper - replace site layout's footer/nav so we control everything */
body.reg-page {
    background-color: #f6f9fc;
    margin: 0;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
