/* static/css/base.css */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f1f5f9;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #24467b;
  padding: 12px 32px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

header nav a,
header nav .enlace {
  color: #ffffff;
  text-decoration: none;
}

header nav a:hover,
header nav .enlace:hover {
  text-decoration: underline;
}

header nav form {
  margin: 0;
}

.enlace {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
}

main {
  max-width: 760px;
  margin: 32px auto;
  padding: 0 16px;
}

footer {
  margin-top: 40px;
  padding: 20px 16px;
  color: #64748b;
  background: #e2e8f0;
  text-align: center;
}

footer p {
  margin: 0;
}

.publicacion {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 24px;
  margin-bottom: 24px;
}

.publicacion h2 a {
  color: #24467b;
  text-decoration: none;
}

.publicacion h2 a:hover {
  text-decoration: underline;
}

.meta {
  color: #64748b;
  font-size: 14px;
}

h1 {
  color: #24467b;
}

.formulario label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.formulario > div {
  margin-bottom: 16px;
}

.helptext {
  color: #64748b;
  font-size: 14px;
}

.formulario input,
.formulario select,
.formulario textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.errorlist {
  color: #b91c1c;
  margin: 0;
  padding-left: 20px;
}

.boton {
  background: #24467b;
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  padding: 8px 20px;
  margin-right: 12px;
  font: inherit;
  cursor: pointer;
}

.boton-peligro {
  background: #b91c1c;
}

.acciones a {
  margin-right: 16px;
}