/* =========================================
   AGENDA XML - VERSION 3B (MUY DIFERENTE)
   - MISMA estructura (NO toca tu HTML)
   - Formulario plano (sin card)
   - Tabla en card marcada
   - Paleta cálida (ámbar/rojo) + fondo claro
   ========================================= */

*{ box-sizing:border-box; font-family: "Trebuchet MS", Segoe UI, Tahoma, Arial, sans-serif; }

body{
  margin:0;
  padding:34px 20px;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(255,188,66,.28), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(244,63,94,.20), transparent 55%),
    #f4f6fb;
  color:#111827;
}

.container{ max-width:1200px; margin:auto; }

h1{
  margin:0 0 16px;
  font-size:32px;
  font-weight:900;
  letter-spacing:.3px;
  color:#0f172a;
}

/* ===========================
   FORMULARIO: SIN "CAJA"
   =========================== */
.card{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin-bottom:20px !important;  /* más aire */
}
.head, .body{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
}

/* Espaciado extra entre filas para verse distinto */
.row{ margin:0 0 14px; }

label{
  display:block;
  margin:0 0 6px;
  font-weight:800;
  font-size:13px;
  color:#334155;
  letter-spacing:.2px;
}

/* Inputs tipo "línea" minimal (MUY distinto) */
input, select{
  width:230px;
  padding:8px 4px;
  border:none;
  border-bottom:2px solid rgba(15,23,42,.22);
  background:transparent;
  color:#0f172a;
  border-radius:0;
  transition:.18s;
}

input::placeholder{ color:rgba(15,23,42,.45); }

input:focus, select:focus{
  outline:none;
  border-bottom-color:#f59e0b; /* ámbar */
  box-shadow:none;
}

/* Botones más “cálidos” y con separación */
.btn, .btn-secondary{
  padding:10px 16px;
  border-radius:12px;
  font-weight:900;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:#0f172a;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}

.btn-secondary:hover{
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.35);
}

/* Alertas más suaves (no rojas fuertes) */
.alert{
  margin:12px 0 18px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(245,158,11,.12);
  border:1px solid rgba(245,158,11,.35);
  color:#7c2d12;
}

/* ===========================
   TABLA: EN CARD (marcada)
   =========================== */
.card.tablewrap{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.10) !important;
  border-radius:20px !important;
  padding:20px 20px 14px !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.12) !important;
  margin-top:8px !important;
}

.tablewrap{ overflow-x:auto; }

table{
  width:100%;
  border-collapse:collapse;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  overflow:hidden;
}

/* Encabezado cálido */
th{
  text-align:left;
  padding:11px 10px;
  font-size:13px;
  font-weight:900;
  color:#7c2d12;
  background:linear-gradient(90deg, rgba(245,158,11,.18), rgba(244,63,94,.10));
  border-bottom:1px solid rgba(15,23,42,.08);
  white-space:nowrap;
}

td{
  padding:10px;
  font-size:14px;
  color:#0f172a;
  border-bottom:1px solid rgba(15,23,42,.08);
}

tr:hover td{
  background:rgba(245,158,11,.08);
}

/* Iconos (lápiz/bote) en tonos distintos */
svg{ color:#f59e0b; }
svg:hover{ color:#ef4444; }

/* Links */
a{ color:#b45309; font-weight:800; }
a:hover{ color:#9a3412; text-decoration:underline; }