/* confirmar.css — Ventanita de confirmación estilizada (2cy, 2 dic 2026, Victor).
   La misma que el modal (mismo fondo oscuro, misma tarjeta blanca con su
   sombrita) pero SIN la barra azul de arriba: solo la "x" para cerrar
   (es lo mismo que cancelar), el título con la operación, el mensaje y
   los botones Confirmar / Cancelar. Los botones solo cambian de color
   al pasar el cursor, sin sombras ni movimientos. Vive por encima de
   cualquier modal (z-index 3000, como los toasts). */

.sgdr-confirmar {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sgdr-confirmar-fondo {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 55, .55);
  cursor: pointer;
}

.sgdr-confirmar-panel {
  position: relative;
  width: min(92vw, 440px);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  color: #1c2b3a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  padding: 24px;
}

.sgdr-confirmar-cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6b7d;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.sgdr-confirmar-cerrar:hover {
  background: #f3f7fc;
  color: #1c2b3a;
}

.sgdr-confirmar-cerrar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sgdr-confirmar-titulo {
  margin: 0 32px 10px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.sgdr-confirmar-mensaje {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5b6b7d;
}

.sgdr-confirmar-mensaje p {
  margin: 0 0 10px;
}

.sgdr-confirmar-mensaje p:last-child {
  margin-bottom: 0;
}

.sgdr-confirmar-botones {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.sgdr-confirmar-boton {
  padding: 10px 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.sgdr-confirmar-boton--confirmar {
  border: 1px solid #1670c0;
  background: #1670c0;
  color: #fff;
}

.sgdr-confirmar-boton--confirmar:hover {
  background: #0f5da8;
  border-color: #0f5da8;
}

.sgdr-confirmar-boton--peligroso {
  border-color: #dc3545;
  background: #dc3545;
}

.sgdr-confirmar-boton--peligroso:hover {
  background: #bb2d3b;
  border-color: #bb2d3b;
}

.sgdr-confirmar-boton--cancelar {
  border: 1px solid #d6e0ec;
  background: #fff;
  color: #1f2d3d;
}

.sgdr-confirmar-boton--cancelar:hover {
  background: #f3f7fc;
}

.sgdr-confirmar-boton:focus-visible,
.sgdr-confirmar-cerrar:focus-visible {
  outline: 2px solid #1670c0;
  outline-offset: 2px;
}
