/* =====================================================================
 * Trial alert modal styles (Lujo Vision / tiger theme).
 * Ported from EKSIT-IK orca .eks-trial-alert cluster, adapted to the
 * dark "tiger" brand tokens (orange/gold accents on carbon glass).
 * ===================================================================== */

.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(217, 164, 65, 0.22);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96) 0%, rgba(5, 5, 5, 0.96) 100%);
  color: #f2f2f2;
  box-shadow: 0 28px 80px -36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 122, 0, 0.06);
  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: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(242, 242, 242, 0.72);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.eks-trial-alert__close:hover,
.eks-trial-alert__close:focus-visible {
  background: rgba(255, 176, 0, 0.16);
  border-color: rgba(217, 164, 65, 0.4);
  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(255, 176, 0, 0.16);
  color: #ffb000;
}

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

.eks-trial-alert__title {
  margin: 0;
  color: #ffffff;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.1;
}

.eks-trial-alert__description {
  margin: 0.9rem auto 0;
  max-width: 24rem;
  color: rgba(242, 242, 242, 0.74);
  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, #ff7a00, #d9a441);
  color: #111111;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.eks-trial-alert__button:hover,
.eks-trial-alert__button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px -16px rgba(255, 122, 0, 0.6);
}

.eks-trial-alert__button:focus-visible,
.eks-trial-alert__close:focus-visible {
  outline: 3px solid rgba(255, 176, 0, 0.32);
  outline-offset: 2px;
}
