.formulario_pagina {
  --bg:#0b1220;
  --card:#111b2e;
  --muted:#9bb0d1;
  --text:#e8f0ff;
  --line:#223255;
  --accent:#4da3ff;
  --ok:#31d07f;
  --warn:#ffcc66;
  --bad:#ff6b6b;

  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:linear-gradient(180deg,#071022,#0b1220);
  padding:20px;
  border-radius:16px;
}

.formulario_pagina * { box-sizing:border-box; }

.cabecera_formulario {
  padding:22px 18px;
  border-bottom:1px solid var(--line);
  background:rgba(7,16,34,.75);
  border-radius:16px;
  margin-bottom:14px;
}

.row {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

h1 { font-size:18px; margin:0; color: #fff}

.pill {
  font-size:12px;
  color:#fff;
  background:var(--accent);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
}

.cuerpo_formulario {
  display:grid;
  gap:14px;
  grid-template-columns:420px 1fr;
	width: 100%;
}

@media (max-width: 980px){
  .cuerpo_formulario{ grid-template-columns:1fr; }
}

.card {
  background:rgba(17,27,46,.9);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.card h2 {
  margin:0 0 10px 0;
  font-size:14px;
  color:#cfe2ff;
}

label {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:10px 0 6px;
}

input, select, textarea, button {
  width:100%;
  padding:10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0b152b;
  color:var(--text);
  outline:none;
}

textarea { min-height:90px; resize:vertical; }

.grid2 { display:grid; gap:10px; grid-template-columns:1fr 1fr; }
.grid3 { display:grid; gap:10px; grid-template-columns:1fr 1fr 1fr; }

.actions { display:flex; gap:10px; margin-top:12px; }
.actions button { cursor:pointer; font-weight:700; }

.primary { background:var(--accent); border:none; color:#00152a; }
.ghost { background:transparent; }
.danger { background:transparent; border-color:#4a2230; color:#ffb3b3; }

.mini { font-size:12px; padding:8px 10px; }

.toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.toolbar > * { flex:1; min-width:160px; }

.table {
  width:100%;
  border-collapse:collapse;
  border-radius:14px;
  border:1px solid var(--line);
}

.table th, .table td {
  padding:10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:13px;
  vertical-align:top;
}

.table th {
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  background:#0b152b;
}

.muted { color:var(--muted); font-size:12px; }

.split {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.small { font-size:12px; color:var(--muted); }

.linkbtn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.right { text-align:right; }

details {
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  background:#0b152b;
}

summary {
  cursor:pointer;
  color:#cfe2ff;
  font-weight:700;
}

.statCard {
  background:rgba(17,27,46,.9);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  text-align:center;
}

.statCard h3 {
  color: #ffffff;
}

.oculto {
  display: none;
}

.slaBar{
  width:100%;
  height:8px;
  background:#0b152b;
  border-radius:8px;
  overflow:hidden;
}

.slaFill{
  height:100%;
  background:linear-gradient(90deg,#31d07f,#ffcc66,#ff6b6b);
}