/* Screenshot-inspired styling for the existing secondary-password page and
   address-binding modal. The host must add telegram-security-page to the
   security section and withdraw-address-modal to the relevant modal only. */
.telegram-security-page {
  background: #101113;
  color: #f0eef4;
  --text: #f0eef4;
  --muted: #c1bec9;
  --line: #484a52;
}
.telegram-security-page .toolbar {
  background: #171719;
  color: #f0eef4;
  border-color: #45464a;
}
.telegram-security-page .back-button { color: #e4bc9f; }
.telegram-security-page .detail-body { padding: 16px; }
.telegram-security-page .content-card,
.modal.withdraw-address-modal {
  background: linear-gradient(150deg, #393b3e, #1b1e25 78%, #15181f);
  color: #f0eef4;
  border: 1px solid #55575e;
  border-radius: 18px;
  box-shadow: 0 12px 30px #0006;
}
.telegram-security-page .content-card + .content-card { margin-top: 12px; }
.telegram-security-page .logout { background: #302a29; border: 1px solid #6d5550; color: #ffb6a9; }
.telegram-security-page .content-card h2 { color: #f0eef4; }
.telegram-security-page .content-card p { color: #c1bec9; }
.telegram-security-page .field,
.withdraw-address-modal .field { display: block; margin: 16px 0; }
.telegram-security-page .field > span,
.withdraw-address-modal .field > span { display: block; margin-bottom: 8px; color: #c8c5ce; }
.telegram-security-page .field input,
.withdraw-address-modal .field input,
.withdraw-address-modal .field textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 14px;
  background: #30333a;
  color: #f3f1f5;
  border: 1px solid #51545e;
  border-radius: 10px;
}
.telegram-security-page .field input::placeholder,
.withdraw-address-modal .field input::placeholder,
.withdraw-address-modal .field textarea::placeholder { color: #c5c2cb; opacity: 1; }
.withdraw-address-modal .field textarea { min-height: 80px; resize: vertical; }
.telegram-security-page .field input:focus,
.withdraw-address-modal .field input:focus,
.withdraw-address-modal .field textarea:focus { outline: 2px solid #dfb49677; border-color: #e0b99e; }
.telegram-security-page .primary-button,
.withdraw-address-modal .primary-button {
  width: 100%;
  background: #d9b293;
  color: #1a1411;
  border: 1px solid #e4bd9f;
  border-radius: 10px;
}
.telegram-security-page .primary-button:disabled,
.withdraw-address-modal .primary-button:disabled { opacity: .55; }
.withdraw-address-modal .modal-header {
  background: transparent;
  color: #f0eef4;
  border-bottom: 1px solid #484a52;
}
.withdraw-address-modal .modal-header .icon-button { color: #bdbac4; }
.withdraw-address-modal .withdraw-modal-hint,
.withdraw-address-modal .field small { color: #c1bec9; }
