.cookie-banner-modern {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2147483647;
  display: flex;
  justify-content: center;
}

.cookie-banner-modern[hidden] {
  display: none !important;
}

.cookie-box-modern {
  width: 100%;
  max-width: 760px;
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;

  padding: 16px 18px;
  box-sizing: border-box;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cookie-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cookie-text-wrap {
  flex: 1;
  min-width: 0;
}

.cookie-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #ededed;
}

.cookie-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.92;
}

.cookie-text a:hover {
  opacity: 1;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cookie-actions button {
  font-size: 13px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-accept {
  background: #ffffff;
  color: #111111;
  font-weight: 600;
}

.btn-accept:hover {
  background: #ececec;
}

.btn-reject {
  background: rgba(255, 255, 255, 0.05);
  color: #e3e3e3;
  border-color: rgba(255, 255, 255, 0.10);
}

.btn-reject:hover {
  background: rgba(255, 255, 255, 0.10);
}

@media (max-width: 640px) {
  .cookie-banner-modern {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-box-modern {
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-content {
    gap: 10px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button {
    width: 100%;
  }
}