/* Состояние «счёт запрошен, ждём оплаты» на листе «Оплата системы».
   Отдельный файл: styles-settings-syspay.css уже 768 строк (выше лимита 600),
   styles-settings-syspay-balance.css подходит к своему потолку.
   Цвет = важность: жёлтый «ждём тебя/нас», не красный «всё плохо». */

/* Пилюля статуса: жёлтое «Ожидает оплаты» вместо красного «Не оплачено». */
.syspay-sub-pill.is-pending {
  color: #fff6e3;
  background: rgba(232, 190, 117, 0.18);
  border-color: rgba(232, 190, 117, 0.45);
}

.syspay-sub-pill.is-pending::before {
  background: linear-gradient(180deg, #f5d18a, #e0a94f);
  box-shadow: 0 0 0 5px rgba(232, 190, 117, 0.14);
}

.syspay-sub-pill.is-pending .syspay-sub-pill-label {
  color: #ffd89a;
}

.syspay-sub-pill.is-pending .syspay-pill-hint {
  border-color: rgba(232, 190, 117, 0.45);
}

/* Плашка в карточке баланса на месте кнопки «Запросить счёт». Высота и радиус —
   как у .plan-btn, чтобы карточка не «дёрнулась» при смене состояния. Кликом
   открывает правую панель с подробностями счёта и отменой. */
.syspay-pending-chip {
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(232, 190, 117, 0.45);
  background: rgba(90, 64, 20, 0.32);
  color: #ffd89a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.syspay-pending-chip:hover,
.syspay-pending-chip.is-active {
  border-color: rgba(232, 190, 117, 0.68);
  background: rgba(90, 64, 20, 0.46);
}

.syspay-pending-chip-sum {
  color: #fff6e3;
  font-size: 13px;
}

/* Панель «Пополнение баланса» при незакрытой заявке. */
.syspay-pending-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.syspay-pending-title {
  color: #ffd89a;
  font-size: 14px;
  font-weight: 700;
}

.syspay-pending-note {
  color: rgba(220, 232, 250, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.syspay-pending-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(232, 190, 117, 0.28);
  background: rgba(90, 64, 20, 0.22);
}

.syspay-pending-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.syspay-pending-row span {
  color: rgba(200, 216, 240, 0.72);
}

.syspay-pending-row b {
  color: #eaf3ff;
  font-weight: 600;
}

.syspay-pending-cancel {
  width: 100%;
}

.syspay-pending-hint {
  color: rgba(200, 216, 240, 0.6);
  font-size: 11px;
  line-height: 1.45;
}
