/* ── Contenedor general ──────────────────────────────────────────────────── */
.registro-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 480px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.registro-card h2 {
    margin-top: 0;
    color: #111827;
    font-size: 22px;
    text-align: center;
}

.registro-card .subtitulo {
    color: #6b7280;
    text-align: center;
    margin-bottom: 28px;
    font-size: 14px;
}

/* ── Pasos / breadcrumb ──────────────────────────────────────────────────── */
.registro-pasos {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.registro-pasos .paso {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background 0.2s;
}

.registro-pasos .paso.activo {
    background: #1a56db;
}

/* ── Inputs ──────────────────────────────────────────────────────────────── */
.registro-form input,
.registro-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    color: #111827;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
}

.registro-form input:focus,
.registro-form select:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.registro-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/* ── Botones ─────────────────────────────────────────────────────────────── */
.registro-form button,
.btn-registro {
    width: 100%;
    padding: 14px;
    background: #1a56db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.registro-form button:hover,
.btn-registro:hover {
    background: #1e42af;
}

.btn-secundario {
    width: 100%;
    padding: 12px;
    background: #f9fafb;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-secundario:hover {
    background: #f3f4f6;
}

/* ── Tarjeta de datos ofuscados ──────────────────────────────────────────── */
.datos-ofuscados {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.datos-ofuscados .dato-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.datos-ofuscados .dato-row:last-child {
    border-bottom: none;
}

.datos-ofuscados .dato-row span:first-child {
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datos-ofuscados .dato-row span:last-child {
    color: #111827;
    font-weight: 600;
}

/* ── Mensajes de error y alerta ──────────────────────────────────────────── */
.registro-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid #fecaca;
}

.registro-aviso {
    background: #fef9c3;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid #fde68a;
    line-height: 1.5;
}

.registro-exito {
    background: #dcfce7;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid #bbf7d0;
}

/* ── Separador ──────────────────────────────────────────────────────────── */
.registro-sep {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin: 14px 0;
}

/* ── Logotipos ───────────────────────────────────────────────────────────── */
.registro-logos {
    text-align: center;
    margin-top: 28px;
}

.registro-logos img {
    margin: 0 5px;
}

/* ── Link de regreso al login ─────────────────────────────────────────────── */
.registro-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

.registro-link a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 600;
}

.registro-link a:hover {
    text-decoration: underline;
}
/* ── Select2: igualar el estilo a los inputs del formulario ──────────────── */
.registro-form .select2-container {
    margin-bottom: 15px;
    width: 100% !important;
}

.registro-form .select2-container .select2-selection--single {
    height: auto;
    min-height: 46px;
    padding: 7px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.registro-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
    padding: 0;
}

.registro-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.registro-form .select2-container--default.select2-container--focus .select2-selection--single,
.registro-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.registro-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1a56db;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
}
