/* Персонаж Bubotool (Буба) — общий стиль кабинета, v20261123 */
/* 1) Общий спиннер загрузки: кольцо → «думающий» персонаж. Только блочные div.spinner, маленькие span.spinner в кнопках не трогаем. */
div.spinner {
  width: 46px !important; height: 47px !important;
  border: 0 !important; border-radius: 0 !important;
  background: url(/bubo/bubo-loading.svg?v=20261123) center / contain no-repeat !important;
  animation: bubo-bob 1.6s ease-in-out infinite !important;
  margin-left: auto; margin-right: auto;
}
@keyframes bubo-bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-3px) } }

/* 2) Статус процесса (Bubo.status) — плашка внизу слева */
.bubo-stack { position: fixed; left: 76px; bottom: 20px; z-index: 9990; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; }
.bubo-st { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 380px;
  background: #fff; color: #0E1B37; border: 1px solid #e3e5ec; border-radius: 12px; padding: 10px 14px 10px 10px;
  box-shadow: 0 8px 24px rgba(14, 27, 55, .14); font: 13px/1.35 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  animation: bubo-in .25s ease; }
.bubo-st img { width: 40px; height: 40px; flex: 0 0 40px; }
.bubo-st b { display: block; font-weight: 600; }
.bubo-st small { display: block; color: #6b7280; font-size: 12px; margin-top: 2px; }
.bubo-st .bubo-bar { height: 4px; background: #eef0f4; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.bubo-st .bubo-bar i { display: block; height: 4px; background: #FFC41C; border-radius: 2px; transition: width .4s ease; }
.bubo-st .bubo-bar.ind i { width: 35% !important; animation: bubo-ind 1.2s ease-in-out infinite; }
.bubo-st .bubo-x { margin-left: auto; align-self: flex-start; background: none; border: 0; color: #9aa3b8; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 0 0 6px; }
.bubo-st.is-fail { border-color: #f5c2bf; }
@keyframes bubo-in { from { opacity: 0; transform: translateY(8px) } }
@keyframes bubo-ind { 0% { transform: translateX(-100%) } 100% { transform: translateX(300%) } }
@media (max-width: 700px) { .bubo-stack { left: 12px; right: 12px; } .bubo-st { max-width: none; } }

/* 3) Пустой экран (Bubo.empty) */
.bubo-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; color: #0E1B37; }
.bubo-empty img { width: 96px; height: 92px; }
.bubo-empty b { margin-top: 10px; font-size: 15px; font-weight: 600; }
.bubo-empty p { margin: 6px 0 0; color: #6b7280; font-size: 13px; max-width: 360px; line-height: 1.45; }
.bubo-empty .bubo-act { margin-top: 14px; background: #0E1B37; color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; }
.bubo-empty .bubo-act:hover { background: #1F3864; }
