body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #24467b;
    padding: 12px 32px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.marca img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

main {
    flex: 1;
    width: 100%;
    max-width: 760px;
    margin: 32px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.publicacion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 24px;
}

.publicacion h1,
.publicacion h2 {
    margin-top: 0;
    color: #24467b;
}

.publicacion h2 a {
    color: #24467b;
    text-decoration: none;
}

.publicacion h2 a:hover {
    text-decoration: underline;
}

.meta {
    color: #64748b;
    font-size: 14px;
}

.volver {
    display: inline-block;
    margin-top: 8px;
    color: #24467b;
    font-weight: 600;
    text-decoration: none;
}

.volver:hover {
    text-decoration: underline;
}

footer {
    background: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    margin-top: auto;
}

.formulario p {
    margin-bottom: 16px;
}

.formulario label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.formulario input[type="text"],
.formulario select,
.formulario textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.helptext {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-top: 4px;
}

.errorlist {
    color: #b91c1c;
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: 14px;
}

button {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font: inherit;
    cursor: pointer;
    margin-right: 12px;
}

.boton-peligro {
    background: #b91c1c;
}

.acciones a {
    margin-right: 16px;
}

.form-logout {
    display: inline;
}

button.enlace {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.banner-estado {
    background: #f1f5f9;
    border-left: 4px solid #2563eb;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.formulario input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}