.zigveda-app-install-wrap {
  padding-bottom: 32px;
}

.zigveda-push-dialog {
  position: fixed;
  width: min(440px, calc(100% - 32px));
  max-width: none;
  padding: 32px;
  border: 1px solid #d9d2bd;
  border-radius: 20px;
  background: #183b20;
  color: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 32%);
}

.zigveda-push-dialog::backdrop {
  background: rgb(13 25 16 / 70%);
  backdrop-filter: blur(4px);
}

.zigveda-push-dialog h2 {
  margin: 0 28px 10px 0;
  color: #fff;
  font-size: 27px;
  font-weight: 600;
}

.zigveda-push-dialog > p:not(.zigveda-app-install-eyebrow) {
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
  line-height: 1.65;
}

.zigveda-push-dialog .zigveda-push-dialog-status:not([hidden]) {
  margin-top: 12px !important;
  color: #e3cd91 !important;
  font-size: 13px !important;
}

.zigveda-push-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.zigveda-push-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.zigveda-push-dialog-actions button:disabled {
  cursor: wait;
  opacity: .72;
}

.zigveda-push-dismiss {
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 78%);
  font: inherit;
  cursor: pointer;
}

.zigveda-push-dialog .zigveda-app-install-button {
  min-height: 44px;
  padding-inline: 17px;
}

.zigveda-push-dialog .zigveda-app-install-button:focus-visible,
.zigveda-push-dialog-close:focus-visible,
.zigveda-push-dismiss:focus-visible {
  outline: 3px solid #ddc886;
  outline-offset: 3px;
}

.zigveda-push-settings-wrap[hidden] {
  display: none;
}

.zigveda-push-settings-wrap {
  padding-bottom: 18px;
}

.zigveda-push-settings {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 46px 18px;
  overflow: hidden;
  padding: 53px 32px 34px;
  border: 1px solid #e5dec9;
  border-radius: 24px;
  background: #f8f7f1;
  box-shadow: 0 16px 38px rgb(31 47 34 / 10%), inset 0 1px 0 #fff;
}

.zigveda-push-settings::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #d8c184 0%, #b39a63 52%, #78906d 100%);
  content: "";
}

.zigveda-push-settings-icon {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid #e7dcc0;
  border-radius: 25px;
  background: linear-gradient(145deg, #f8f5ea, #efecdf);
  color: #5d7659;
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgb(74 83 53 / 5%);
}

.zigveda-push-settings-icon svg {
  width: 42px;
  height: 42px;
}

.zigveda-push-settings-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.zigveda-push-settings-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #917d4f;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .18em;
}

.zigveda-push-settings strong {
  display: block;
  color: #183b20;
  font-family: inherit;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.zigveda-push-settings p {
  margin: 18px 0 0;
  color: #68736a;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.4;
}

.zigveda-push-settings .zigveda-push-settings-toggle {
  appearance: none;
  display: inline-flex;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  min-height: 80px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 0 32px;
  border: 1px solid #31583b;
  border-radius: 999px;
  background: linear-gradient(135deg, #23472d, #15351f);
  color: #fff;
  font: inherit;
  font-size: 23px !important;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 9px 20px rgb(24 59 32 / 18%), inset 0 1px 0 rgb(255 255 255 / 16%);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.zigveda-push-settings .zigveda-push-settings-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgb(24 59 32 / 22%), inset 0 1px 0 rgb(255 255 255 / 14%);
}

.zigveda-push-settings .zigveda-push-settings-toggle:disabled {
  cursor: wait;
  opacity: .7;
}

.zigveda-push-settings .zigveda-push-settings-toggle:focus-visible {
  outline: 3px solid #ddc886;
  outline-offset: 3px;
}

.zigveda-app-install {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 30px 34px;
  border: 1px solid rgb(232 223 190 / 22%);
  border-radius: 18px;
  background: #183b20;
  color: #fff;
  box-shadow: 0 18px 44px rgb(0 0 0 / 18%);
}

.zigveda-app-install[hidden],
.zigveda-app-install-button[hidden] {
  display: none;
}

.zigveda-app-install-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgb(223 202 146 / 42%);
  border-radius: 18px;
  background: rgb(255 255 255 / 5%);
  color: #e3cd91;
}

.zigveda-app-install-mark svg {
  width: 40px;
  height: 40px;
}

.zigveda-app-install-copy {
  min-width: 0;
}

.zigveda-app-install-eyebrow {
  margin: 0 0 7px;
  color: #ddc886;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.zigveda-app-install-copy h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.zigveda-app-install-copy > p:not(.zigveda-app-install-eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 14px;
  line-height: 1.65;
}

.zigveda-app-install-copy > .zigveda-app-install-status:not([hidden]) {
  margin-top: 8px;
  color: #e3cd91;
  font-weight: 600;
}

.zigveda-app-install-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid #ead9a8;
  border-radius: 999px;
  background: #f4ecd6;
  color: #183b20;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.zigveda-app-install-button > span {
  color: #183b20 !important;
  -webkit-text-fill-color: #183b20;
}

.zigveda-app-install-button svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.zigveda-app-install-button:hover {
  transform: translateY(-1px);
  border-color: #fff4d3;
  background: #fff8e8;
}

.zigveda-app-install-button:hover svg {
  transform: translateX(3px);
}

.zigveda-app-install-button:focus-visible,
.zigveda-app-install-help summary:focus-visible {
  outline: 3px solid #ddc886;
  outline-offset: 4px;
}

.zigveda-app-install-help {
  margin-top: 11px;
  color: rgb(255 255 255 / 82%);
  font-size: 12px;
}

.zigveda-app-install-help summary {
  width: fit-content;
  color: #e3cd91;
  cursor: pointer;
  text-underline-offset: 3px;
}

.zigveda-app-install-help summary:hover {
  text-decoration: underline;
}

.zigveda-app-install-steps {
  display: grid;
  gap: 5px;
  max-width: 680px;
  padding-top: 8px;
}

.zigveda-app-install-steps p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  line-height: 1.6;
}

.zigveda-app-install-steps strong {
  color: #fff;
}

@media (max-width: 767.98px) {
  .zigveda-push-settings {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px 14px;
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .zigveda-push-settings-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .zigveda-push-settings-icon svg {
    width: 28px;
    height: 28px;
  }

  .zigveda-push-settings-eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  .zigveda-push-settings strong {
    font-size: 17px;
    line-height: 1.3;
  }

  .zigveda-push-settings p {
    margin-top: 8px;
    font-size: 13px;
  }

  .zigveda-push-settings .zigveda-push-settings-toggle {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    min-height: 54px;
    padding-inline: 16px;
    font-size: 16px !important;
  }

  .zigveda-app-install-wrap {
    padding-bottom: 24px;
  }

  .zigveda-app-install {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 17px;
    padding: 23px 20px;
    border-radius: 16px;
  }

  .zigveda-app-install-mark {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .zigveda-app-install-mark svg {
    width: 34px;
    height: 34px;
  }

  .zigveda-app-install-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .zigveda-push-dialog {
    padding: 28px 22px 22px;
  }

  .zigveda-push-dialog-actions {
    flex-direction: column-reverse;
  }

  .zigveda-push-dialog-actions button {
    width: 100%;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zigveda-app-install-button,
  .zigveda-app-install-button svg {
    transition: none;
  }
}
