/* Telegram Mini App surface styling & safe-area top inset integration. */
.account-page .topbar {
  padding-top: max(12px, env(safe-area-inset-top), var(--ulya-host-top, 0px));
}

.account-page [data-chat-expanded="true"] .chat-heading-row {
  padding-top: max(10px, env(safe-area-inset-top), var(--ulya-host-top, 0px));
}

.telegram-account {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(207, 177, 121, 0.35);
  border-radius: 16px;
  background: #091c2d;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telegram-account p[role="status"] {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e6edf3;
}

.telegram-account label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #e6edf3;
  cursor: pointer;
}

.telegram-account input[type="password"] {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(207, 177, 121, 0.4);
  border-radius: 12px;
  background: #071320;
  color: #f8fdfe;
  font-size: 15px;
}

.telegram-account button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8a96a;
  border-radius: 999px;
  background: linear-gradient(160deg, #1b2d3f 0%, #0a1522 100%);
  color: #f4e4c1;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.telegram-account button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
