.lp-account-delete-card,
.lp-ad-dialog {
  --lp-ad-gold: #d8ad68;
  --lp-ad-gold-dark: #b98a45;
  --lp-ad-ink: #1f1f1f;
  --lp-ad-muted: #707070;
  --lp-ad-line: #e8e0d5;
  --lp-ad-soft: #fbf8f3;
  font-family: inherit;
}

.lp-account-delete-card {
  width: 100%;
  box-sizing: border-box;
  margin: 22px 0 0;
  padding: 24px;
  border: 1px solid var(--lp-ad-line);
  border-radius: 18px;
  background: linear-gradient(135deg,#fff 0%,#fffdf9 100%);
  box-shadow: 0 12px 34px rgba(29,23,16,.06);
  color: var(--lp-ad-ink);
}

.lp-ad-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
}

.lp-ad-eyebrow,
.lp-ad-dialog__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--lp-ad-gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lp-account-delete-card h3,
.lp-ad-dialog h3 {
  margin: 0 0 8px !important;
  color: var(--lp-ad-ink) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.lp-account-delete-card p,
.lp-ad-dialog p {
  margin: 0 !important;
  color: var(--lp-ad-muted) !important;
  line-height: 1.6 !important;
}

.lp-ad-shield {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f7ead5;
  color: #9b6e2c;
}
.lp-ad-shield svg { width: 24px; height: 24px; }

.lp-ad-info-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 22px 0 14px;
}
.lp-ad-info-grid > div {
  padding: 14px 16px;
  border: 1px solid var(--lp-ad-line);
  border-radius: 12px;
  background: var(--lp-ad-soft);
  min-width: 0;
}
.lp-ad-info-grid span { display:block; color:#8a8176; font-size:10px; font-weight:700; margin-bottom:4px; }
.lp-ad-info-grid strong { display:block; overflow-wrap:anywhere; color:#222; font-size:12px; }

.lp-ad-note {
  margin: 14px 0 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--lp-ad-gold);
  border-radius: 0 10px 10px 0;
  background: #fcf7ee;
}
.lp-ad-note strong { display:block; margin-bottom:4px; font-size:11px; color:#51432f; }
.lp-ad-note p { font-size:10.5px !important; color:#766a5a !important; }

.lp-ad-delete-button,
.lp-ad-confirm,
.lp-ad-cancel {
  appearance: none;
  border-radius: 10px;
  min-height: 44px;
  padding: 11px 16px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.lp-ad-delete-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #d9534f !important;
  background: #fff !important;
  color: #b92d29 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease !important;
}
.lp-ad-delete-button svg {
  width: 16px;
  height: 16px;
  color: currentColor !important;
}
.lp-ad-delete-button:hover,
.lp-ad-delete-button:focus,
.lp-ad-delete-button:active {
  border-color: #d9534f !important;
  background: #fff3f2 !important;
  color: #b92d29 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: translateY(-1px);
  outline: none !important;
}


.lp-ad-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--lp-ad-ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.lp-ad-dialog::backdrop { background: rgba(17,17,17,.58); backdrop-filter: blur(3px); }
.lp-ad-dialog__form { position:relative; padding:28px; }
.lp-ad-dialog__close,
.lp-ad-dialog__close:hover,
.lp-ad-dialog__close:focus,
.lp-ad-dialog__close:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  right: 14px !important;
  top: 12px !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e3dbd0 !important;
  border-radius: 999px !important;
  background: #f5f1ea !important;
  background-image: none !important;
  color: #4c443a !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
  cursor: pointer !important;
  transform: none !important;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease !important;
}
.lp-ad-dialog__close:hover,
.lp-ad-dialog__close:focus-visible {
  border-color: #d8ccbd !important;
  background: #ece5dc !important;
  color: #2e2924 !important;
}
.lp-ad-dialog__close:active {
  background: #e5ddd3 !important;
  color: #2e2924 !important;
}
.lp-ad-dialog__close svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.lp-ad-dialog p { margin-bottom:20px !important; }

.lp-ad-field { display:block; margin:14px 0; }
.lp-ad-field > span { display:block; margin-bottom:6px; font-size:10px; font-weight:750; color:#4c453d; }
.lp-ad-field input {
  width:100% !important; box-sizing:border-box !important; min-height:48px !important;
  padding:11px 13px !important; border:1px solid #d9d1c6 !important; border-radius:10px !important;
  background:#fff !important; color:#222 !important; font-size:13px !important;
  box-shadow:none !important; outline:none !important;
}
.lp-ad-field input:focus { border-color:var(--lp-ad-gold) !important; box-shadow:0 0 0 3px rgba(216,173,104,.15) !important; }

.lp-ad-check { display:flex; gap:9px; align-items:flex-start; margin:16px 0; font-size:10.5px; line-height:1.45; color:#5f574d; }
.lp-ad-check input { margin-top:2px; }

.lp-ad-dialog__actions { display:grid; grid-template-columns:1fr 1.25fr; gap:10px; margin-top:21px; }
.lp-ad-cancel {
  border: 1px solid #d8d1c8 !important;
  background: #fff !important;
  color: #514b44 !important;
  box-shadow: none !important;
}
.lp-ad-cancel:hover,
.lp-ad-cancel:focus,
.lp-ad-cancel:active {
  border-color: #c9beb1 !important;
  background: #f8f5f1 !important;
  color: #38332e !important;
  box-shadow: none !important;
}

.lp-ad-confirm {
  border: 1px solid #c73a35 !important;
  background: #c73a35 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.lp-ad-confirm:disabled,
.lp-ad-confirm:disabled:hover {
  border-color: #e4a09e !important;
  background: #e4a09e !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.lp-ad-confirm:not(:disabled):hover,
.lp-ad-confirm:not(:disabled):focus,
.lp-ad-confirm:not(:disabled):active {
  border-color: #a92d29 !important;
  background: #a92d29 !important;
  color: #fff !important;
  box-shadow: none !important;
}


.lp-ad-notice { margin:0 0 18px; padding:12px 14px; border-radius:9px; font-size:11px; font-weight:700; }
.lp-ad-notice--success { background:#eef8f0; color:#236b32; border:1px solid #cce8d2; }
.lp-ad-notice--error { background:#fff1f0; color:#a62c27; border:1px solid #f1cbc8; }

.lp-account-delete-card--guest { display:flex; gap:12px; align-items:center; }
.lp-ad-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:50%; background:#f4ead9; color:#936b2f; font-weight:900; }

@media (max-width: 620px) {
  .lp-account-delete-card { padding:18px; border-radius:14px; }
  .lp-ad-info-grid { grid-template-columns:1fr; }
  .lp-ad-dialog__form { padding:22px 18px 18px; }
  .lp-ad-dialog__actions { grid-template-columns:1fr; }
  .lp-ad-delete-button { width:100%; }
}
