.antorcha-sim * { box-sizing: border-box; }

.antorcha-sim__card{
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
}

.antorcha-sim__header{ margin-bottom: 12px; }
.antorcha-sim__title{ margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.antorcha-sim__subtitle{ margin: 0; opacity: .8; }

.antorcha-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* ✅ ahora 5 campos */
  gap: 12px;
  margin-top: 12px;
}

.antorcha-field label{
  display:block;
  font-weight: 700;
  margin-bottom: 6px;
}

.antorcha-field input,
.antorcha-field select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  outline: none;
  background: #fff;
}

.antorcha-hint{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .75;
}

.antorcha-actions{
  display:flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 14px;
}

.antorcha-btn{
  border: 0;
  background: #0b4d8a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.antorcha-alert{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(220, 38, 38, .10);
  border: 1px solid rgba(220, 38, 38, .25);
  color: #7f1d1d;
  font-weight: 600;
}

.antorcha-results{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,.16);
}

.antorcha-summary__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.antorcha-kpi{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(0,0,0,.02);
}
.antorcha-kpi__label{ font-size: 12px; opacity: .75; margin-bottom: 4px; }
.antorcha-kpi__value{ font-size: 14px; font-weight: 800; }

.antorcha-tablewrap{
  overflow:auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
}

.antorcha-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

.antorcha-table th,
.antorcha-table td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-align: left;
  white-space: nowrap;
}

.antorcha-table thead th{
  position: sticky;
  top: 0;
  background: #f7f7f7;
  z-index: 1;
  font-weight: 900;
}

.antorcha-disclaimer{
  margin-top: 12px;
  font-size: 12px;
  opacity: .75;
}

@media (max-width: 980px){
  .antorcha-grid{ grid-template-columns: repeat(2, 1fr); }
  .antorcha-summary__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .antorcha-grid{ grid-template-columns: 1fr; }
  .antorcha-summary__grid{ grid-template-columns: 1fr; }
  .antorcha-table{ min-width: 560px; }
}

.antorcha-downloads{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin: 6px 0 12px;
}

.antorcha-btn--ghost{
  background: transparent;
  color: #0b4d8a;
  border: 1px solid rgba(11,77,138,.25);
}

.antorcha-btn--ghost:hover{
  background: rgba(11,77,138,.06);
}

/* ===============================
   BOTONES DESCARGA
================================ */
.antorcha-downloads{
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top:14px;
  flex-wrap:wrap;
}

/* Base */
.antorcha-downloads .antorcha-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  font-weight:600;
  border-radius:10px;
  color:#fff;
  border:none;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.antorcha-downloads .antorcha-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(0,0,0,.12);
  opacity:.95;
}

/* PDF rojo */
.antorcha-btn--pdf{
  background:#c62828;
}

/* ===============================
   ICONOS (SVG INLINE)
================================ */
.antorcha-icon{
  width:18px;
  height:18px;
  display:inline-block;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

/* Icono PDF */
.antorcha-icon--pdf{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 2.5L19.5 10H14zM7.5 17v-5h1.8a1.8 1.8 0 1 1 0 3.6H8.7V17zm5.5 0v-5h1.5a2.5 2.5 0 1 1 0 5zm4.5-3.5h2v1.5h-2V17h-1.5v-5H20v1.5h-2.5z'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width:600px){
  .antorcha-downloads{
    justify-content:stretch;
  }
  .antorcha-downloads .antorcha-btn{
    width:100%;
    justify-content:center;
  }
}
/* ===============================
   BLOQUE INFO PRODUCTO – FULL WIDTH
================================ */

/* el contenedor ya ocupa toda la fila del grid */
.antorcha-productinfo.antorcha-grid__full{
  grid-column: 1 / -1;
}

/* caja visual */
.antorcha-productinfo__box{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f8fc, #eef4fb);
  border: 1px solid rgba(11,77,138,.25);
}

/* icono tipo info */
.antorcha-productinfo__box::before{
  content: "ℹ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b4d8a;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  margin-top: 2px;
}

/* título */
.antorcha-productinfo__title{
  font-weight: 800;
  margin-bottom: 6px;
  color: #0b2f55;
}

/* texto */
.antorcha-productinfo__text{
  font-size: 14px;
  line-height: 1.6;
  color: #1f2937;
}

/* responsive: que no se vea apretado */
@media (max-width: 980px){
  .antorcha-productinfo__box{
    flex-direction: column;
  }
}
