/* settings-profile-20261114.css — карточка «Профиль» в Настройках */
.bf-profile-card {
  margin: 0 0 20px;
  padding: 20px 22px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}
.dark .bf-profile-card {
  background: rgba(18, 24, 38, .72);
  border-color: rgba(148, 163, 184, .22);
}
.bf-profile-card__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.bf-profile-card__head-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.bf-profile-card__title {
  font-size: 16px;
  font-weight: 650;
}
.bf-profile-card__summary {
  font-size: 12.5px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .bf-profile-card__summary { color: #94a3b8; }
.bf-profile-card__chevron {
  flex: 0 0 auto;
  font-size: 13px;
  opacity: .6;
  transition: transform .18s ease;
}
.bf-profile-card--open .bf-profile-card__chevron { transform: rotate(180deg); }
.bf-profile-card__body { display: none; margin-top: 14px; }
.bf-profile-card--open .bf-profile-card__body { display: block; }
.bf-profile-card__hint {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
}
.dark .bf-profile-card__hint { color: #94a3b8; }
.bf-profile-card__form {
  display: grid;
  gap: 12px;
}
.bf-profile-field {
  display: grid;
  gap: 5px;
}
.bf-profile-field__label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.dark .bf-profile-field__label { color: #cbd5e1; }
.bf-profile-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, .4);
  background: rgba(255, 255, 255, .9);
  color: inherit;
  font: inherit;
  font-size: 14px;
}
.dark .bf-profile-field__input {
  background: rgba(15, 23, 42, .6);
  border-color: rgba(148, 163, 184, .3);
}
.bf-profile-field__input:focus {
  outline: 2px solid rgba(124, 58, 237, .45);
  outline-offset: 1px;
}
.bf-profile-field--readonly .bf-profile-field__input {
  opacity: .75;
  cursor: default;
}
.bf-profile-card__meta {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}
.dark .bf-profile-card__meta { color: #94a3b8; }
.bf-profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.bf-profile-save {
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  background: #7c3aed;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.bf-profile-save:hover { background: #6d28d9; }
.bf-profile-save:disabled { opacity: .65; cursor: default; }
.bf-profile-reset {
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, .45);
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
.bf-profile-pwd {
  margin-left: auto;
  font-size: 12.5px;
  color: #7c3aed;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.dark .bf-profile-pwd { color: #a78bfa; }

.bf-profile-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(22, 163, 74, .95);
  color: #fff;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: opacity .3s;
}
.bf-profile-toast--error { background: rgba(220, 38, 38, .95); }
.bf-profile-toast--out { opacity: 0; }
@media (max-width: 640px) {
  .bf-profile-card { padding: 16px; border-radius: 15px; }
  .bf-profile-pwd { margin-left: 0; }
}
