html.accu-dga-open,
html.accu-dga-open body {
  overflow: hidden;
}

.accu-dga-modal[hidden],
.accu-dga-success[hidden] {
  display: none !important;
}

.accu-dga-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px 32px;
  box-sizing: border-box;
}

.accu-dga-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 28, 0.78);
  backdrop-filter: blur(2px);
}

.accu-dga-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #001231;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  padding: 28px 22px 22px;
}

.accu-dga-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.accu-dga-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.accu-dga-modal__title {
  margin: 0 36px 8px 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.accu-dga-modal__sub {
  margin: 0 0 18px;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.82);
}

.accu-dga-modal__mount {
  min-height: 120px;
}

.accu-dga-loading {
  margin: 12px 0;
  color: rgba(245, 245, 245, 0.75);
  font-size: 14px;
}

.accu-dga-modal__msg {
  margin: 12px 0 0;
  font-size: 14px;
  color: #9bb0d4;
}

.accu-dga-modal__msg.is-error {
  color: #ff8a96;
}

.accu-dga-success {
  position: sticky;
  top: 0;
  z-index: 99990;
  background: linear-gradient(90deg, #1d51a3 10%, #1d51a3 90%);
  color: #fff;
  padding: 14px 18px;
  text-align: center;
  font-family: Poppins, system-ui, sans-serif;
}

.accu-dga-success__inner {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  align-items: baseline;
  max-width: 900px;
}

.accu-dga-success__inner strong {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
}

.accu-dga-success__inner span {
  font-size: 14px;
  opacity: 0.95;
}

@media (max-width: 600px) {
  .accu-dga-modal {
    padding: 2vh 8px 16px;
  }
  .accu-dga-modal__dialog {
    padding: 24px 14px 16px;
    border-radius: 12px;
  }
  .accu-dga-modal__title {
    font-size: 22px;
  }
}

.accu-dga-pay-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.accu-dga-el {
  width: 100%;
}

.accu-dga-pay-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #2b6dff;
  color: #fff;
  font: 600 16px Poppins, Outfit, Inter, system-ui, sans-serif;
  padding: 14px 18px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}

.accu-dga-pay-btn:hover:not(:disabled) {
  background: #1f5ae6;
}

.accu-dga-pay-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Stripe iframes inherit night background; kill residual white plate */
.accu-dga-modal__mount,
.accu-dga-modal__mount iframe {
  background: transparent !important;
}

.accu-dga-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: Poppins, Outfit, system-ui, sans-serif;
  font-size: 13px;
  color: #9bb0d4;
}

.accu-dga-field input {
  background: #06122a;
  color: #eef3ff;
  border: 1px solid rgba(155, 176, 212, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
  font: 400 15px Poppins, Outfit, system-ui, sans-serif;
  outline: none;
}

.accu-dga-field input::placeholder {
  color: rgba(155, 176, 212, 0.55);
}

.accu-dga-field input:focus {
  border-color: #2b6dff;
  box-shadow: 0 0 0 1px rgba(43, 109, 255, 0.35);
}
