/* === EllaBanner Live Banner (Isolated, Final) === */
.ellabanner-live {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  --eb-bg: rgba(161, 141, 87, .95);
  --eb-cta: #404040;
  background: var(--eb-bg);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);
}

/* Opening & Closing states */
.ellabanner-live.opening {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.ellabanner-live.closing {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

/* Layout */
.ellabanner-live .eb-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 16px 18px;
}
.ellabanner-live .eb-text {
  flex: 1;
  margin-left: 2%;
}
.ellabanner-live .eb-text h2,
.ellabanner-live .eb-text p {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-style: normal;
  letter-spacing: normal;
}
.ellabanner-live .eb-text h2 {
  font-size: 28px;
}
.ellabanner-live .eb-text p {
  font-size: 18px;
  font-weight: 700;
  opacity: .95;
}

/* Button CTA */
.ellabanner-live .eb-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ellabanner-live .eb-button {
  background: var(--eb-cta);
  color: #fff;
  border: 2px solid rgba(255,255,255,.96);
  padding: 14px 64px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  transition: transform .2s ease, filter .2s ease;
}
.ellabanner-live .eb-button:hover {
  transform: translateY(-1px) scale(1.02);
  color: #fff;
}

/* Click-to-close pill */
.ellabanner-live .eb-close {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--eb-cta);
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 12px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border: 3px solid rgba(255,255,255,.85);
  min-width: 240px;
  text-align: center;
  font-weight: 600;
  font-style: normal;
  box-shadow: 0 -4px 12px rgba(0,0,0,.2);
}

/* Mobile Layout */
@media (max-width: 1024px) {
  .ellabanner-live .eb-content {
    flex-direction: column;
  }
  .ellabanner-live .eb-text {
    margin-left: 0;
    text-align: center;
  }
  .ellabanner-live .eb-button {
    width: 100%;
  }
  .ellabanner-live .eb-close {
    width: 60%;
  }
}

/* Liquid Glass Theme (Pro-level glassmorphism) */
.ellabanner-live.theme-liquid-glass {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.10)),
    radial-gradient(1000px 240px at 12% -10%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(900px 220px at 88% -12%, rgba(255,255,255,.14), transparent 60%),
    var(--eb-bg);
  border-top: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 -24px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter: blur(20px) saturate(170%) brightness(1.08) contrast(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(170%) brightness(1.08) contrast(1.04);
}

/* Ensure consistent rendering inside admin preview */
.ellabanner-live, .ellabanner-live * {
  font-style: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-sizing: border-box;
}
