.pixelpulse-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.pixelpulse-modal.show {
  display: block;
  opacity: 1;
}

.pixelpulse-modal-content {
  position: relative;
  background-color: #fff;
  margin: 15vh auto;
  padding: 0;
  width: 90%;
  max-width: 460px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}

.pixelpulse-modal.show .pixelpulse-modal-content {
  transform: translateY(0);
}

.pixelpulse-modal-header {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.logo-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pixelpulse-logo {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pixelpulse-modal-header h2 {
  margin: 0;
  color: #1d2327;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.pixelpulse-modal-body {
  padding: 20px;
}

.social-proof {
  text-align: center;
  margin-bottom: 15px;
  padding: 8px;
  background: linear-gradient(to right, #f0f6fc, #e5f1fb);
  border-radius: 20px;
  display: inline-block;
  width: auto;
  margin-left: 50%;
  transform: translateX(-50%);
}

.users-count {
  color: #2271b1;
  font-weight: 700;
  font-size: 15px;
  margin-right: 5px;
}

.users-text {
  color: #1d2327;
  font-size: 13px;
}

.consent-benefits {
  margin: 0;
}

.consent-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consent-benefits li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 12px;
  background-color: #f0f6fc;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.consent-benefits li:last-child {
  margin-bottom: 0;
}

.consent-benefits li:hover {
  transform: translateY(-2px);
  background-color: #e5f1fb;
  border-color: #2271b1;
}

.benefit-icon {
  font-size: 18px;
  margin-right: 12px;
  min-width: 18px;
  margin-top: 2px;
}

.benefit-text {
  font-size: 13px;
  color: #1d2327;
  line-height: 1.4;
}

.benefit-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  color: #2271b1;
}

.privacy-note {
  text-align: center;
  color: #50575e;
  font-size: 12px;
  margin: 15px 0 0 0;
  opacity: 0.8;
}

.pixelpulse-modal-footer {
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

#pixelpulse-allow-tracking {
  background-color: #2271b1;
  border-color: #2271b1;
  color: #fff;
  padding: 8px 20px;
  margin-right: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 160px;
  text-transform: none;
  height: auto;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#pixelpulse-allow-tracking:hover {
  background-color: #135e96;
  border-color: #135e96;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#pixelpulse-allow-tracking::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transform: rotate(45deg);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

#pixelpulse-deny-tracking {
  background-color: transparent;
  border: none;
  color: #646970;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: normal;
  transition: all 0.2s ease;
}

#pixelpulse-deny-tracking:hover {
  color: #2c3338;
  text-decoration: underline;
}

@media screen and (max-width: 782px) {
  .pixelpulse-modal-content {
    margin: 10vh 15px;
    width: auto;
  }

  .pixelpulse-modal-header,
  .pixelpulse-modal-body,
  .pixelpulse-modal-footer {
    padding: 15px;
  }

  #pixelpulse-allow-tracking {
    width: auto;
    min-width: 0;
    margin: 0 0 8px 0;
    display: block;
  }

  #pixelpulse-deny-tracking {
    width: auto;
    margin: 0;
    display: block;
  }
}