
:root{
  --verde:#304a48;
  --oscuro:#233936;
  --crema:#f7f3ea;
  --blanco:#fffdf8;
  --naranja:#bd7959;
  --texto:#293e3b;
  --gris:#77847e;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--crema);
  color:var(--texto);
  font-family:"Segoe UI",Arial,sans-serif;
}
header{
  background:var(--verde);
  color:white;
  padding:18px max(20px,5%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.logo{
  font-size:24px;
  font-weight:800;
  color:white;
  text-decoration:none;
}
nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
nav a,nav button{
  color:white;
  text-decoration:none;
  font-size:13px;
  background:none;
  border:0;
  cursor:pointer;
  font-weight:600;
}
main{
  max-width:1120px;
  margin:0 auto;
  padding:45px 20px 70px;
}
h1{
  font:normal clamp(30px,4vw,46px) Georgia,serif;
  margin:10px 0;
}
h2{font-size:20px}
.sub{
  color:var(--gris);
  line-height:1.8;
}
.etiqueta{
  color:var(--naranja);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.card{
  background:var(--blanco);
  border:1px solid #e5e1d8;
  border-radius:20px;
  padding:25px;
  box-shadow:0 12px 30px #23393609;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:20px;
  margin-top:30px;
}
.portada{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:12px;
  background:#e5e0d6;
}
.boton{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  padding:13px 20px;
  color:white;
  background:var(--verde);
  border:0;
  border-radius:11px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}
.boton:hover{background:var(--oscuro)}
.boton.secundario{
  background:#ebeee8;
  color:var(--verde);
}
.boton.naranja{background:var(--naranja)}
.boton:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.campo{margin:18px 0}
.campo label{
  display:block;
  font-weight:700;
  font-size:13px;
  margin-bottom:8px;
}
.campo input,.campo select,.campo textarea{
  width:100%;
  padding:13px;
  border:1px solid #d8dcd6;
  border-radius:11px;
  background:white;
  font:inherit;
  font-size:14px;
}
.error{color:#a34440;font-size:12px}
.mensaje{
  padding:14px 18px;
  background:#e7f3e7;
  color:#2c6238;
  border-radius:12px;
  margin:18px 0;
}
.estado{
  display:inline-block;
  padding:7px 11px;
  border-radius:30px;
  font-size:12px;
  font-weight:700;
  background:#f5e8d4;
  color:#835a2b;
}
.estado.aprobada{
  background:#e1f2e4;
  color:#276542;
}
.estado.rechazada{
  background:#fae3e1;
  color:#923a38;
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}
th,td{
  border-bottom:1px solid #e8e5de;
  padding:14px 10px;
  text-align:left;
  font-size:13px;
  vertical-align:top;
}
th{color:var(--gris)}
.tabla{overflow-x:auto}
.acciones{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.acciones form{display:inline}
.acciones button{
  padding:9px 12px;
  border:0;
  border-radius:9px;
  cursor:pointer;
  font-weight:700;
}
.aprobar{background:#dceee0;color:#236443}
.rechazar{background:#f7e0dc;color:#913a36}
@media(max-width:700px){
  main{padding:28px 14px}
  .card{padding:19px}
}
