.iaaps-cookie-notice {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.iaaps-cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.iaaps-cookie-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 43, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.iaaps-cookie-notice__content {
  width: min(1020px, 100%);
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(125deg, #011a82 0%, #0326ac 55%, #04194f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 45px rgba(1, 20, 86, 0.42);
  backdrop-filter: blur(3px);
}

html.iaaps-cookie-locked,
body.iaaps-cookie-locked {
  overflow: hidden;
}

.iaaps-cookie-notice__content::before,
.iaaps-cookie-notice__content::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.iaaps-cookie-notice__content::before {
  width: 200px;
  height: 200px;
  right: -60px;
  top: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
}

.iaaps-cookie-notice__content::after {
  width: 170px;
  height: 170px;
  left: -60px;
  bottom: -95px;
  background: radial-gradient(circle, rgba(196, 20, 32, 0.35) 0%, rgba(196, 20, 32, 0) 70%);
}

.iaaps-cookie-notice__badge {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iaaps-cookie-notice__badge i {
  font-size: 1rem;
  color: #ffffff;
}

.iaaps-cookie-notice__text-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.iaaps-cookie-notice__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iaaps-cookie-notice__title {
  margin: 0 0 5px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
}

.iaaps-cookie-notice__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.iaaps-cookie-notice__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.iaaps-cookie-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.iaaps-cookie-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.iaaps-cookie-btn:hover {
  transform: translateY(-1px);
}

.iaaps-cookie-btn--primary {
  background: #c41420;
  border-color: #c41420;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(196, 20, 32, 0.28);
}

.iaaps-cookie-btn--primary:hover {
  background: #ae111b;
  border-color: #ae111b;
}

.iaaps-cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.iaaps-cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.44);
}

@media (max-width: 760px) {
  .iaaps-cookie-notice {
    padding: 12px;
  }

  .iaaps-cookie-notice__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }

  .iaaps-cookie-notice__badge {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .iaaps-cookie-notice__actions {
    width: 100%;
    justify-content: stretch;
  }

  .iaaps-cookie-btn {
    flex: 1;
    text-align: center;
    min-height: 42px;
  }

  .iaaps-cookie-notice__title {
    font-size: 1rem;
  }

  .iaaps-cookie-notice__text {
    font-size: 0.87rem;
  }
}
