/* Botón "Ingresá" inyectado en el header + modal de ingreso por DNI. */

/* Ítems de menú deshabilitados en la página de beneficios (no navegables). */
.cupongo-nav-disabled,
.cupongo-nav-disabled * {
  color: #b8c2cc !important;
  opacity: 0.65;
  pointer-events: none;
  cursor: default;
}

.cupongo-login-group {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.cupongo-login-group .cupongo-login-btn {
  margin: 0;
}

.cupongo-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  margin-right: 0.6rem;
  border-radius: 999px;
  border: 2px solid #0ea5e9;
  background: #fff;
  color: #0284c7;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.cupongo-login-btn:hover,
.cupongo-login-btn:focus {
  background: #0ea5e9;
  color: #fff;
}

/* Modal */
body.cupongo-login-open {
  overflow: hidden;
}

.cupongo-login-modal[hidden] {
  display: none !important;
}

.cupongo-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.cupongo-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cupongo-login-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.cupongo-login-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.cupongo-login-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  color: #0f172a;
}

.cupongo-login-modal__subtitle {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: #64748b;
}

.cupongo-login-modal__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.cupongo-login-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  font-size: 1.05rem;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  outline: none;
}

.cupongo-login-modal__input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.cupongo-login-modal__error {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: #b91c1c;
  font-weight: 600;
}

.cupongo-login-modal__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.cupongo-login-modal__btn {
  flex: 1;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.cupongo-login-modal__btn--cancel {
  background: #fff;
  border-color: #cbd5e1;
  color: #475569;
}

.cupongo-login-modal__btn--cancel:hover {
  background: #f1f5f9;
}

.cupongo-login-modal__btn--submit {
  background: #0ea5e9;
  color: #fff;
}

.cupongo-login-modal__btn--submit:hover {
  background: #0284c7;
}

.cupongo-login-modal__btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
