* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body.account-deletion-page {
  min-width: 320px;
  background: #f5f4ff;
  color: #252e63;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-deletion-shell {
  width: min(700px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 64px;
}

.account-deletion-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.account-deletion-hero img {
  display: block;
  width: 192px;
  height: auto;
}

.account-deletion-toast {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid #9aa9ff;
  border-radius: 10px;
  background: #eef0ff;
  color: #2f47d7;
  animation: account-deletion-slide-down 0.25s ease;
}

.account-deletion-toast.is-visible {
  display: flex;
}

.account-deletion-toast-icon {
  display: flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #4963ff;
  color: #fff;
  font-weight: 700;
}

.account-deletion-toast-text {
  flex: 1;
  font-size: 14px;
}

.account-deletion-toast-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

@keyframes account-deletion-slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-deletion-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  margin-bottom: 16px;
  padding: 2px 10px;
  border: 1px solid #e2e4f4;
  border-radius: 9px;
  background: #fff;
}

.account-deletion-country-code {
  position: relative;
  flex: 0 0 auto;
  padding: 0 12px 0 2px;
  font-size: 16px;
  line-height: 1;
}

.account-deletion-country-code::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: #d7d9e8;
  content: "";
}

.account-deletion-field input {
  min-width: 0;
  flex: 1;
  padding: 11px 14px;
  border: 0;
  outline: 0;
  background: #fff;
  box-shadow: none;
  color: #252e63;
  font: inherit;
  font-size: 16px;
}

.account-deletion-field input::placeholder {
  color: #6e6f7d;
  opacity: 1;
}

.account-deletion-send {
  min-width: 96px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #4963ff;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.account-deletion-send:disabled {
  background: #a6b1ef;
  cursor: not-allowed;
}

.account-deletion-confirm {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: 0;
  border-radius: 11px;
  background: #252e63;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.account-deletion-confirm:hover,
.account-deletion-confirm:focus-visible {
  background: #182052;
}

.account-deletion-tips {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #e2e4f4;
  border-radius: 11px;
  background: #fff;
}

.account-deletion-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.account-deletion-tip:last-child {
  margin-bottom: 0;
}

.account-deletion-tip img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.account-deletion-tip p {
  margin: 0;
}

.account-deletion-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}

.account-deletion-modal.is-visible {
  display: flex;
}

.account-deletion-modal-box {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.account-deletion-modal-box h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.account-deletion-modal-box p {
  margin: 0;
  color: #35364f;
  font-size: 15px;
  line-height: 1.5;
}

.account-deletion-modal-box .account-deletion-success {
  margin-bottom: 8px;
  color: #4963ff;
}

.account-deletion-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.account-deletion-modal-actions button {
  flex: 1;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.account-deletion-cancel {
  border: 1px solid #252e63 !important;
  background: #fff;
  color: #252e63;
}

.account-deletion-delete {
  background: #fb5243;
  color: #fff;
}

.account-deletion-ok {
  background: #4963ff;
  color: #fff;
}

@media (max-width: 600px) {
  .account-deletion-shell {
    width: 100%;
    padding: 32px 16px;
  }

  .account-deletion-hero img { width: 160px; }
  .account-deletion-field { min-height: 54px; margin-bottom: 14px; padding: 3px 8px; }
  .account-deletion-country-code { padding-right: 10px; font-size: 16px; }
  .account-deletion-field input { padding: 12px 10px; font-size: 15px; }
  .account-deletion-send { min-width: 80px; padding: 11px 12px; font-size: 14px; }
  .account-deletion-confirm { margin-top: 12px; padding: 15px; font-size: 16px; }
  .account-deletion-tips { margin-top: 20px; padding: 15px 12px; }
  .account-deletion-tip { gap: 9px; font-size: 13px; }
}
