:root { --azul: #0b4f7c; --gris: #f4f6f8; --verde: #1e7d4f; --rojo: #b3261e; --ambar: #9a6700; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1c1c1c; background: var(--gris); }
.barra { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: .8rem 1.5rem; background: var(--azul); color: #fff; }
.barra a, .barra .enlace { color: #fff; text-decoration: none; margin-left: 1rem; }
.marca { font-weight: 700; margin-left: 0 !important; }
.marca small { font-weight: 400; opacity: .85; }
.en-linea { display: inline; }
.enlace { background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }
main { max-width: 1050px; margin: 1.5rem auto; background: #fff; padding: 1.5rem 2rem; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
footer { text-align: center; font-size: .8rem; color: #555; padding: 1rem; }
h1 { color: var(--azul); margin-top: 0; }
.nota { background: #eef5fb; border-left: 4px solid var(--azul); padding: .6rem .9rem; font-size: .9rem; }
table.requisitos { width: 100%; border-collapse: collapse; }
.requisitos th, .requisitos td { text-align: left; padding: .6rem; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.estado { padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.estado.aprobado, .estado.confirmado { background: #dff3e8; color: var(--verde); }
.estado.rechazado { background: #fbe4e2; color: var(--rojo); }
.estado.revision { background: #fff3d6; color: var(--ambar); }
.estado.pendiente { background: #eceff1; color: #555; }
.motivo { color: var(--rojo); font-size: .85rem; margin-top: .3rem; }
.carga { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.info-archivo { font-size: .8rem; color: #555; }
button { background: var(--azul); color: #fff; border: 0; border-radius: 6px; padding: .45rem .9rem; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.mensajes { list-style: none; padding: 0; }
.mensajes li { padding: .6rem .9rem; border-radius: 6px; margin-bottom: .4rem; background: #eef5fb; }
.mensajes .error { background: #fbe4e2; } .mensajes .success { background: #dff3e8; }
.fichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.ficha { border: 1px solid #e3e3e3; border-radius: 8px; padding: 1rem; }
.ficha h3 { margin: 0 0 .4rem; color: var(--azul); font-size: 1rem; }
.formulario p { display: flex; flex-direction: column; gap: .2rem; }
input[type=text], input[type=email], input[type=password], input[type=url] { padding: .45rem; border: 1px solid #c7c7c7; border-radius: 6px; max-width: 420px; }

body.embed { background: transparent; }
body.embed .ficha { background: #fff; }
