/* =====================================================================
 * Punto Mira — Free Trial alert modal (.eks-trial-alert*)
 * Ported from EKSIT-IK orca consent-modal.css, retuned to the bear
 * brand tokens (dark surface + tiger gold accent).
 * ===================================================================== */

.eks-trial-alert {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.eks-trial-alert.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eks-trial-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(6px);
}

.eks-trial-alert__dialog {
  position: relative;
  width: min(100%, 30rem);
  padding: 2rem;
  border: 1px solid rgba(242, 183, 5, 0.18);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
  color: #f5f5f5;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.92);
  text-align: center;
  transform: translateY(1rem) scale(0.98);
  transition: transform 0.24s ease;
  outline: none;
}

.eks-trial-alert.is-visible .eks-trial-alert__dialog {
  transform: translateY(0) scale(1);
}

.eks-trial-alert__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5e6c8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.eks-trial-alert__close:hover,
.eks-trial-alert__close:focus-visible {
  background: rgba(242, 183, 5, 0.16);
  color: #ffffff;
}

.eks-trial-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
}

.eks-trial-alert__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.eks-trial-alert--success .eks-trial-alert__icon {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.eks-trial-alert--error .eks-trial-alert__icon {
  background: rgba(244, 63, 94, 0.16);
  color: #fb7185;
}

.eks-trial-alert--info .eks-trial-alert__icon {
  background: rgba(242, 183, 5, 0.16);
  color: #f2b705;
}

.eks-trial-alert__eyebrow {
  margin: 0 0 0.5rem;
  color: #f2b705;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eks-trial-alert__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.eks-trial-alert__description {
  margin: 0.9rem auto 0;
  max-width: 24rem;
  color: rgba(245, 245, 245, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.eks-trial-alert__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c48a00 0%, #f2b705 100%);
  color: #111111;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 20px 42px -24px rgba(255, 122, 0, 0.66), 0 0 0 1px rgba(255, 176, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.eks-trial-alert__button:hover,
.eks-trial-alert__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 48px -24px rgba(255, 122, 0, 0.76), 0 0 18px rgba(255, 176, 0, 0.16);
}

.eks-trial-alert__button:focus-visible,
.eks-trial-alert__close:focus-visible {
  outline: 3px solid rgba(242, 183, 5, 0.32);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .eks-trial-alert {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .eks-trial-alert__dialog {
    padding: 1.5rem;
    padding-top: 2rem;
  }

  .eks-trial-alert__button {
    width: 100%;
  }
}
