.asepp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.asepp-overlay.asepp-visible {
  display: flex;
}

.asepp-modal {
  position: relative;
  width: min(92vw, 460px);
  padding: 32px;
  border-radius: 18px;
  background: var(--asepp-bg, #fff);
  color: var(--asepp-text, #222);
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
  text-align: center;
  animation: aseppFadeUp .22s ease-out;
}

.asepp-modal h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--asepp-text, #222);
}

.asepp-message {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.55;
}

.asepp-form {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.asepp-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.asepp-form button,
.asepp-refuse {
  cursor: pointer;
}

.asepp-form button {
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--asepp-accent, #0073aa);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.asepp-form button:disabled {
  opacity: .65;
  cursor: wait;
}

.asepp-refuse {
  border: 0;
  background: transparent;
  color: var(--asepp-text, #222);
  text-decoration: underline;
  font-size: 14px;
}

.asepp-privacy {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: .78;
}

.asepp-response {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

.asepp-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--asepp-text, #222);
}

@keyframes aseppFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .asepp-modal {
    padding: 26px 20px;
  }

  .asepp-modal h2 {
    font-size: 24px;
  }
}

.asepp-page-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 999999;
  max-width: min(92vw, 560px);
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--asepp-accent, #0073aa);
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 38px rgba(0,0,0,.22);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.asepp-page-notice.asepp-page-notice-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
