/* Дополнительные стили поверх основного style.css */
.footer__nav{display:flex;gap:24px;font-size:14px;color:#002148;align-items:center}
.footer__nav a{text-decoration:none;color:#002148;opacity:.75;transition:.2s}
.footer__nav a:hover{opacity:1;color:#8AAA00}
.footer .custom-logo-link img{height:44px;width:auto;display:block}
.footer .logo__img{height:44px;width:auto;display:block}
@media(max-width:768px){
  .footer__nav{display:none}
  .footer .custom-logo-link img,
  .footer .logo__img{height:22px}
}

/* ============================================================
   РЕЖИМ РАБОТЫ — ПЛАВАЮЩИЙ БЕЙДЖ
   Никак не участвует в раскладке страницы, position: fixed.
   ============================================================ */

/* Базовые кирпичики (используются во всех вариантах) */
.schedule{
  display:inline-flex;align-items:center;
  font-family:"Inter",Arial,sans-serif;
  line-height:1.2;
}
.schedule__dot{
  display:block;
  width:10px;height:10px;border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 4px rgba(163,204,0,.25);
  position:relative;flex:0 0 auto;
}
.schedule--offline .schedule__dot{
  background:#B0B7C3;
  box-shadow:0 0 0 4px rgba(176,183,195,.25);
}
.schedule--online .schedule__dot::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:var(--green);
  animation:schedulePulse 2s ease-out infinite;
}
@keyframes schedulePulse{
  0%{transform:scale(1);opacity:.6}
  100%{transform:scale(2.6);opacity:0}
}
.schedule__title{font-weight:600;font-size:13px;}
.schedule__text{font-size:11px;color:#7A8699;}
.schedule__status{font-weight:600;font-size:13px;color:var(--green-d);white-space:nowrap;}
.schedule--offline .schedule__status{color:#7A8699;}

/* ---- Плавающий бейдж в правом нижнем углу ---- */
.schedule--floating{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9998;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:
    "dot status"
    "dot text";
  align-items:center;
  column-gap:10px;
  row-gap:2px;
  padding:12px 20px 12px 16px;
  max-width:260px;
  background:#fff;
  border-radius:14px;
  box-shadow:
    0 12px 32px rgba(0,33,72,.16),
    0 2px 6px rgba(0,33,72,.06);
  color:var(--navy);
  animation:scheduleIn .35s ease-out both;
}
@keyframes scheduleIn{
  from{opacity:0;transform:translateY(10px);}
  to  {opacity:1;transform:translateY(0);}
}
.schedule--floating .schedule__dot{ grid-area:dot; align-self:center; }
.schedule--floating .schedule__body{ display:contents; }
.schedule--floating .schedule__title{ display:none; }
.schedule--floating .schedule__status{ grid-area:status; margin:0; }
.schedule--floating .schedule__text{ grid-area:text; }

/* ---- Адаптив ---- */
@media (max-width:768px){
  .schedule--floating{
    right:12px;bottom:12px;
    padding:9px 14px 9px 12px;
    column-gap:8px;
    border-radius:12px;
    max-width:min(220px, calc(100vw - 24px));
  }
  .schedule--floating .schedule__status{ font-size:12px; }
  .schedule--floating .schedule__text  { font-size:10px; }
  .schedule--floating .schedule__dot{
    width:8px;height:8px;
    box-shadow:0 0 0 3px rgba(163,204,0,.25);
  }
}
