/* Account Settings Modal (LIO-107) — поля настроек аккаунта.
   Вынесено из accounts-ui.css (лимит 900 LOC); подключается после него. */
.settings-modal-body {
  padding: 4px 4px 8px;
}
.settings-field {
  margin-bottom: 18px;
}
.settings-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.settings-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  transition: border-color 0.15s;
}
.settings-input:focus {
  border-color: rgba(168, 85, 247, 0.5);
}
.settings-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}
.settings-date {
  font-size: 14px;
  color: #fff;
  padding: 4px 0;
}
/* Фото аккаунта в настройках (SPEC-account-avatar-upload) */
.settings-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings-avatar-preview {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.settings-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.settings-avatar-letter {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.settings-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-avatar-btn {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.settings-avatar-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
}
.settings-avatar-btn--danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.settings-avatar-btn--danger:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.55);
}
.is-hidden {
  display: none !important;
}
.settings-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.settings-modal-body .btn-primary {
  width: 100%;
}
/* «Отключить аккаунт» в модалке настроек (паритет с settings-delete connect.css) */
.settings-delete-btn {
  width: 100%;
  margin-top: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.settings-delete-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.55);
}
/* «Как это работает»: шаги 1-4 (how-step стили в connect-forms.css) */
.how-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-content .how-step {
  margin-bottom: 0;
}
/* Switch (перенесено из web/connect/connect.css, удалён в LIO-109) */
.switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .sl {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.switch .sl::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.switch input:checked + .sl {
  background: #A855F7;
}
.switch input:checked + .sl::before {
  transform: translateX(18px);
}
