:host {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 99999;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.banner {
  width: 100vw;
  display: flex;
  justify-content: center;
  z-index: 3000;
}

.animate-block {
  pointer-events: auto;
  width: calc(100vw - 40px);
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg,
      #1e3c72 0%,
      #2a5298 45%,
      #ffffff 45%,
      #ffffff 100%);
  color: #ffffff;
  position: relative; // ✅ Already there - important!
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.animate-block::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -40px;
  width: 260px;
  height: 160px;
  background: rgba(30, 144, 255, 0.35);
  border-radius: 50%;
}

.animate-block::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -60px;
  width: 220px;
  height: 140px;
  background: rgba(0, 180, 216, 0.35);
  border-radius: 50%;
}

.animate-block strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.animate-block span {
  font-size: 14px;
}

.banner-link {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: underline;
}

// ✅ UPDATED CLOSE ICON STYLES
.closeicon {
  position: absolute; // ✅ Changed from flex
  top: 12px; // ✅ Added
  right: 16px; // ✅ Added
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d47a1;
  z-index: 10; // ✅ Added - above wave effects
  transition: transform 0.2s ease; // ✅ Added - nice hover effect

  &:hover {
    transform: scale(1.1); // ✅ Added - hover effect
  }

  mat-icon {
    font-size: 24px; // ✅ Added - bigger icon
    width: 24px;
    height: 24px;
  }
}

// ✅ ADD THIS - Content wrapper
.banner-content {
  flex: 1;
  padding-right: 40px; // Space for close icon
}

.position-top {
  position: fixed;
  top: 12px;
}

.position-bottom {
  position: fixed;
  bottom: 12px;
}