:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197));
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  font-family: 'Times New Roman', Times, serif;
}

.frontmenu {
  width: 100%;
  position: fixed;
  background-color: black;
  left: 0%;
  bottom: 0%;
  z-index: 3;
}
/* ── Toasts compartidos (alertas partial) ─────────────────────── */
.ConfirmaElim {
  width: 260px;
  height: auto;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #00c597;
  color: #454545;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1.1em;
  box-shadow: 0 8px 32px rgba(0, 197, 151, 0.18);
  z-index: 9999;
  transition: opacity 0.3s;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.ConfirmaElim .afirmactivo {
  color: #00c597;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0;
}
.ConfirmaNegativo {
  width: 260px;
  height: auto;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #d10000;
  color: #d10000;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1.1em;
  box-shadow: 0 8px 32px rgba(209, 0, 0, 0.18);
  z-index: 9999;
  transition: opacity 0.3s;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.ConfirmaNegativo .afirmactivo {
  color: #d10000;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0;
}

/* ── Modal Evento responsive ───────────────────────────────────── */
.modal-form-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding-top: 20px;
  box-sizing: border-box;
}
.modal-form-sheet {
  background: white;
  padding: 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 480px;
  margin: 0 auto 40px;
  box-sizing: border-box;
}
/* Evita zoom automático en iOS (inputs < 16px disparan zoom) */
.modal-form-sheet input,
.modal-form-sheet select,
.modal-form-sheet textarea {
  font-size: 16px;
}
.modal-form-sheet label {
  font-size: 14px;
}
/* Fila moneda + precio: lado a lado en pantallas normales */
.evento-precio-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.evento-precio-row select {
  flex-shrink: 0;
  max-width: 160px;
}
.evento-precio-row input {
  flex: 1;
  min-width: 0;
}

/* ── Mobile: bottom sheet ──────────────────────────────────────── */
@media (max-width: 520px) {
  .modal-form-overlay {
    align-items: flex-end;
    padding-top: 0;
    overflow-y: hidden;
  }
  .modal-form-sheet {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    margin: 0;
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 32px;
  }
  /* En móvil muy angosto la moneda va arriba del precio */
  .evento-precio-row {
    flex-direction: column;
  }
  .evento-precio-row select {
    max-width: 100%;
  }
}
