.modalAuth {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 99999;
}

.oculto {
  display: none;
}

.authCard {
  position: relative;

  background: #1f1f1f;

  border-radius: 18px;

  padding: 30px;

  width: 420px;
}
.tabs {
  display: flex;

  margin-bottom: 25px;

  gap: 10px;
}

.tab {
  flex: 1;

  height: 46px;

  background: #2b2b2b;

  border: none;

  border-radius: 10px;

  color: white;

  cursor: pointer;
}

.tab.activo {
  background: #16a34a;
}

.authCard input {
  width: 100%;

  height: 48px;

  margin-bottom: 14px;

  padding: 0 15px;

  border: none;

  border-radius: 10px;

  background: #2b2b2b;

  color: white;

  font-size: 16px;
}

.authCard button:not(.cerrarAuth) {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.cerrarAuth {
  position: absolute;

  top: 12px;

  right: 12px;

  width: 40px;

  height: 40px;

  padding: 0;

  margin: 0;

  border: none;

  outline: none;

  background: transparent;

  color: #ffffff;

  font-size: 34px;

  font-weight: 300;

  line-height: 1;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  transition: 0.25s;
}

.cerrarAuth:hover {
  color: #18b54a;

  background: rgba(24, 181, 74, 0.15);

  transform: rotate(90deg);
}
.perfilMenu {
  position: relative;
}

#btnPerfil {
  background: #16a34a;

  color: white;

  border: none;

  padding: 10px 18px;

  border-radius: 999px;

  cursor: pointer;

  font-weight: 600;
}

.menuPerfil {
  position: absolute;

  top: 110%;

  right: 0;

  width: 230px;

  background: #222;

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);

  display: none;

  z-index: 9999;
}

.menuPerfil.abierto {
  display: block;
}

.menuPerfil a {
  display: block;

  padding: 14px 18px;

  color: white;

  text-decoration: none;
}

.menuPerfil a:hover {
  background: #2f2f2f;
}

.menuPerfil hr {
  border: none;

  border-top: 1px solid #333;
}
/* ==========================================
   MODAL DE MENSAJE
   ========================================== */

.modal-mensaje {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 2147483647 !important;

  background: rgba(0, 0, 0, 0.65);
}

.modal-mensaje-contenido {
  width: min(420px, 100%);

  position: relative;
  z-index: 2147483647 !important;

  padding: 30px 25px;

  background: #ffffff;
  border-radius: 18px;

  text-align: center;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

  animation: aparecerMensaje 0.2s ease-out;
}

.modal-mensaje-icono {
  font-size: 45px;
  margin-bottom: 10px;
}

.modal-mensaje-contenido h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.modal-mensaje-contenido p {
  margin: 0 0 25px;
  color: #555;
  line-height: 1.5;
}

.btn-modal-mensaje {
  border: none;
  border-radius: 10px;

  padding: 11px 25px;

  background: #111;
  color: white;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
}

.btn-modal-mensaje:hover {
  opacity: 0.85;
}

@keyframes aparecerMensaje {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
