.rdp-formulario { max-width: 52rem; margin: 0 auto; padding: 1.5rem; border: 1px solid #d0d7de; border-radius: .5rem; background: #fff; color: #1f2933; }
.rdp-formulario__header p { margin: .35rem 0; }
.rdp-formulario__required-note, .rdp-formulario label span[aria-hidden="true"], .rdp-checkbox strong { color: #b42318; }
.rdp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; padding: 0; margin: 1.5rem 0; list-style: none; }
.rdp-steps li { display: flex; align-items: center; gap: .4rem; color: #5f6c7b; font-size: .875rem; }
.rdp-steps span { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 1px solid #9aa5b1; border-radius: 50%; }
.rdp-steps .is-active, .rdp-steps .is-complete { color: #004a80; font-weight: 700; }
.rdp-steps .is-active span, .rdp-steps .is-complete span { border-color: #004a80; background: #004a80; color: #fff; }
.rdp-form-step { min-width: 0; padding: 0; border: 0; }
.rdp-form-step legend { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 700; }
.rdp-fieldset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rdp-field--full { grid-column: 1 / -1; }
.rdp-field label, .rdp-label { display: block; margin-bottom: .35rem; font-weight: 600; }
.rdp-field input, .rdp-field select, .rdp-field textarea { box-sizing: border-box; width: 100%; padding: .65rem; border: 1px solid #7b8794; border-radius: .25rem; font: inherit; }
.rdp-field input:focus, .rdp-field select:focus, .rdp-field textarea:focus { outline: 3px solid #b3d4fc; outline-offset: 1px; border-color: #004a80; }
.rdp-optional, .rdp-help { color: #52606d; font-size: .875rem; font-weight: 400; }
.rdp-help { margin: .35rem 0 0; }
.rdp-radio-group { display: flex; gap: 1rem; }
.rdp-radio-group label, .rdp-checkbox { font-weight: 400; }
.rdp-radio-group input, .rdp-checkbox input { width: auto; }
.rdp-declaration, .rdp-documents { margin-bottom: 1rem; padding: 1rem; border-radius: .25rem; background: #f0f4f8; }
.rdp-declaration h3, .rdp-documents h3, .rdp-documents h4 { margin-top: 0; }
.rdp-documents h4 { margin-bottom: .35rem; }
.rdp-documents ul { margin-top: 0; }
.rdp-formulario__navigation { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.5rem; }
.rdp-button { padding: .7rem 1rem; border: 1px solid #004a80; border-radius: .25rem; background: #004a80; color: #fff; font: inherit; cursor: pointer; }
.rdp-button--secondary { background: #fff; color: #004a80; }
.rdp-formulario__status { min-height: 1.5rem; margin-bottom: .75rem; color: #b42318; font-weight: 600; }
@media (max-width: 42rem) { .rdp-formulario { padding: 1rem; } .rdp-steps { grid-template-columns: 1fr 1fr; } .rdp-fieldset-grid { grid-template-columns: 1fr; } .rdp-field--full { grid-column: auto; } .rdp-formulario__navigation { justify-content: stretch; } .rdp-button { flex: 1; } }


/* Errores de validacion */
.rdp-field--error input, .rdp-field--error select, .rdp-field--error textarea { border-color: #dc3545 !important; box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important; }
.rdp-field-error { color: #dc3545; font-size: 0.875rem; margin-top: 0.25rem; display: block; }