/* Overlay */
.bg-modal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 55, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

/* Contenedor */
.modal-container {
  background: linear-gradient(160deg, #2c4a6e 0%, #2c4a6e 0%, #4a7fa5 50%, #8ab4cc 100%);
  border: none;
  border-radius: 16px;
  padding: 0;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #fff;
  overflow: hidden;
  height: 320px !important;
}

dialog {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

/* Header */
.modal-header {
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}

/* Body */
.modal-body {
  padding: 1.4rem 1.6rem;
}

.modal-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.2rem;
  line-height: 1.5;
}

.modal-body input:focus {
  transform: scale(1) !important;
}


/* Footer */
.modal-footer {
  padding: 1rem 1.6rem 1.4rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.form_boton_usuarios {
  padding: 15px 22px;
  background:  var(--bg-blue-800) !important;
  color: #fff;
  border: none;
  border-radius: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}


.btn-cerrar {
  padding: 10px;
  background: transparent;
  border: none;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  transition: all ease .2s;
  border-radius: 100%;
}

.btn-cerrar:hover {
  background: rgba(255, 255, 255, 0.08);
}