.apt82-rebate-widget {
  margin: 30px 0 0;
  text-align: left;
}

.apt82-rebate-open,
.apt82-rebate-submit {
  align-items: center;
  appearance: none;
  background: #111827;
  border: 1px solid #111827;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  gap: 18px;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.apt82-rebate-open:hover,
.apt82-rebate-open:focus-visible,
.apt82-rebate-submit:hover,
.apt82-rebate-submit:focus-visible {
  background: #000;
  transform: translateY(-2px);
}

.apt82-rebate-button-note {
  color: #7b8493;
  font-size: 13px;
  margin: 10px 0 0;
}

.apt82-rebate-dialog {
  background: transparent;
  border: 0;
  height: min(920px, calc(100dvh - 30px));
  margin: auto;
  max-height: calc(100dvh - 30px);
  max-width: 820px;
  overflow: visible;
  padding: 0;
  width: calc(100% - 30px);
}

.apt82-rebate-dialog::backdrop {
  background: rgba(5, 10, 20, .72);
  backdrop-filter: blur(6px);
}

.apt82-rebate-dialog-inner {
  background: #f7f8fa;
  border-radius: 24px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .28);
  color: #111827;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 52px;
  position: relative;
}

.apt82-rebate-close {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #dbe0e7;
  border-radius: 50%;
  color: #111827;
  cursor: pointer;
  display: flex;
  font-size: 27px;
  font-weight: 300;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px;
}

.apt82-rebate-heading { max-width: 660px; }
.apt82-rebate-kicker {
  color: #687386;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .09em;
  margin: 0 0 16px;
}
.apt82-rebate-heading h2 {
  color: #111827;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.04;
  margin: 0;
  word-break: keep-all;
}
.apt82-rebate-heading > p:last-child {
  color: #687386;
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0 0;
  word-break: keep-all;
}

.apt82-rebate-privacy {
  background: #eef5ff;
  border: 1px solid #cbdcf5;
  border-radius: 14px;
  color: #1e3a5f;
  margin: 30px 0;
  padding: 18px 20px;
}
.apt82-rebate-privacy strong { display: block; font-size: 15px; margin-bottom: 5px; }
.apt82-rebate-privacy p { font-size: 14px; line-height: 1.65; margin: 0; word-break: keep-all; }

.apt82-rebate-form { display: grid; gap: 18px; }
.apt82-rebate-form fieldset,
.apt82-rebate-terms {
  background: #fff;
  border: 1px solid #dfe3e9;
  border-radius: 17px;
  margin: 0;
  padding: 24px;
}
.apt82-rebate-form legend,
.apt82-rebate-terms h3 {
  color: #111827;
  font-size: 18px;
  font-weight: 780;
  margin: 0 0 20px;
  padding: 0 5px;
}
.apt82-rebate-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.apt82-rebate-grid label { display: block; }
.apt82-rebate-grid label > span {
  color: #364152;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}
.apt82-rebate-grid b,
.apt82-rebate-check b { color: #c81e1e; }
.apt82-rebate-full { grid-column: 1 / -1; }
.apt82-rebate-grid input,
.apt82-rebate-grid select,
.apt82-rebate-grid textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd5dd;
  border-radius: 10px;
  color: #111827;
  font: inherit;
  font-size: 15px;
  min-height: 50px;
  outline: 0;
  padding: 12px 14px;
  width: 100%;
}
.apt82-rebate-grid textarea { min-height: 112px; resize: vertical; }
.apt82-rebate-grid input:focus,
.apt82-rebate-grid select:focus,
.apt82-rebate-grid textarea:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .1);
}
.apt82-rebate-terms h3 { padding: 0; }
.apt82-rebate-terms ul {
  color: #566172;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  padding-left: 20px;
}
.apt82-rebate-check {
  align-items: flex-start;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.55;
  padding: 15px 0 0;
}
.apt82-rebate-check + .apt82-rebate-check { margin-top: 15px; }
.apt82-rebate-check input { flex: 0 0 auto; height: 18px; margin: 2px 0 0; width: 18px; }
.apt82-rebate-submit { border-radius: 12px; margin-top: 2px; min-height: 60px; width: 100%; }
.apt82-rebate-honeypot { height: 1px !important; left: -10000px !important; opacity: 0 !important; position: absolute !important; width: 1px !important; }

.apt82-rebate-status {
  background: #fff;
  border: 1px solid #dfe3e9;
  border-radius: 17px;
  margin: 28px 0;
  padding: 24px;
}
.apt82-rebate-status h2 { font-size: 28px; margin: 10px 0; }
.apt82-rebate-status p { color: #566172; line-height: 1.7; margin: 6px 0 0; }
.apt82-rebate-status-icon {
  align-items: center;
  background: #111827;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.apt82-rebate-error { border-color: #fecaca; }
.apt82-rebate-error strong { color: #991b1b; }

@media (max-width: 640px) {
  .apt82-rebate-open { min-height: 52px; width: 100%; }
  .apt82-rebate-button-note { text-align: center; }
  .apt82-rebate-dialog { height: 100dvh; max-height: 100dvh; width: 100%; }
  .apt82-rebate-dialog-inner { border-radius: 0; min-height: 100%; padding: 66px 18px 30px; }
  .apt82-rebate-close { position: fixed; right: 15px; top: 14px; z-index: 2; }
  .apt82-rebate-heading h2 { font-size: 34px; }
  .apt82-rebate-grid { grid-template-columns: 1fr; }
  .apt82-rebate-full { grid-column: auto; }
  .apt82-rebate-form fieldset,
  .apt82-rebate-terms { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .apt82-rebate-open,
  .apt82-rebate-submit { transition: none; }
}

