/* Загальні налаштування */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  max-height: 4000px;
  /* Рожево-фіолетовий фон */
  background: #000; /* Зробили фон чорним */
  background-size: cover;
  font-family: 'Lexend Deca', sans-serif;
  color: #fff;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  width: 100%;
}

/* Верхній блок (top-bar) тільки з логотипом і правим контейнером */
.top-bar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  z-index: 1100;
}

/* Логотип/назва сайту */
.logo-container {
position: relative;
font-size: 17px;
letter-spacing: 0.15px;
line-height: 24px;

text-align: left;
}

.top-left-text {
  font-size: 1.4em;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFB2E6;
}

#username-container img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}


.online-indicator {
  margin-left: 30px;           /* Більший відступ від логотипу */
  margin-top: -12px;            /* Піднімаємо елемент за допомогою margin */
  padding: 5px 12px;
  font-size: 16px;
  font-weight: 600;
  
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}



/* Мобільна панель */
.mobile-side-nav {
  position: fixed;
  /*top: 70px; /* з урахуванням висоти top-bar */
  left: 0;
  width: 70%;
  max-width: 238px;
  height: 100%;
  /*height: calc(100vh - 70px);*/
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-right: 2px solid rgba(46,232,111,0.22);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1001;
  transform: translateX(-100%); /* схована за замовчуванням */
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding-top: 20px;
}

/* Коли панель відкрита */
.mobile-side-nav.open {
  transform: translateX(0);
}

/* Стилі для мобільного меню */
.mobile-menu {
  list-style: none;
  padding: 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Кнопка для відкриття мобільної панелі (гамбургер) */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* На мобільних пристроях показуємо кнопку відкриття */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: inline-block;
  }
}

  



/* Ліва панель навігації */
.left-side-nav {
  position: fixed;
  top: 70px; /* щоб не перекривати top-bar */
  left: 0;
  width: 60px;
  min-height: calc(100vh - 70px);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-right: 2px solid rgba(46,232,111,0.22);
  padding-top: 20px;
  z-index: 1000;
  transition: width 0.3s ease;
  overflow: hidden;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.left-side-nav:hover {
  width: 200px;
}

.side-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 10px;
}
.side-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  font-size: 0.95em;
  cursor: pointer;
}
.side-menu li a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(5px);
}
.side-menu li a span {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Показуємо текст при розширенні панелі */
.left-side-nav:hover li a span {
  display: inline;
  opacity: 1;
}

/* Головний контейнер */
.main-container {

  margin: 0px 40px;
  padding: 40px;
  border-radius: 25px; /* Додано заокруглення */
}

/* Єдина ширина для блоків (таймер, ставки, поточні ставки) */
#game-timer,
.bet-section,
.bets-section {
  
  margin: 0 auto 50px;
}
#game-timer-text {
  position: relative;              /* Ширина, щоб текст вміщувався в один рядок */

  
  font-size: 10px;
  padding-top: 50px;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border-radius: 25px;
  
  backdrop-filter: blur(10px);
  
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease-out;
  
}
/* Таймер гри */
/* (Кольори таймера та кнопок залишено без змін) */
#game-timer {
  position: relative;              /* Ширина, щоб текст вміщувався в один рядок */

  padding: 10px 30px;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(95.1deg, #2ee86f, #e9cd71 49.76%, #2ee86f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  white-space: nowrap;
  color: #fff;
  border-radius: 25px;
  
  backdrop-filter: blur(10px);
  
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease-out;
  
}

#game-timer::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 30px;

  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  z-index: -2;
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 15px rgba(255,20,147,0.5), 0 0 30px rgba(255,105,180,0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(255,20,147,0.8), 0 0 60px rgba(255,105,180,0.8);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Контейнер рулетки */
.raffle-roller {
  position: relative;
  width: 100%;
  height: 200px;
  margin: 20px 0;
  background: #000;
  overflow: hidden;
  border-radius: 25px;
  
}
.raffle-roller-holder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  /* Радіальний градієнт з рожевими відтінками */
  background: radial-gradient(circle, #0c2517, #000);
}
.raffle-roller-container {
  width: 9999999px;
  height: 200px;
  margin-left: 0;
  transition: all 25s cubic-bezier(.08,.6,0,1);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.raffle-roller-holder:before {
  content: "";
  position: absolute;
  z-index: 99;
  width: 5px;
  height: 200%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #9fffc0 50%, transparent 50%);
  box-shadow: 0 0 10px #0c2517;
}

/* Картка-еміт */
.item {
  display: inline-block;
  margin: 10px 5px;
  width: 176px;
  height: 176px;
  background-color: #0c2517; /* Темний рожевий фон */
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 25px;
  transition: transform 0.3s ease;
  border: 2px solid #9fffc0;
}

/* Виграшний еміт 
.winning-item {
  box-shadow: 0 0 30px rgba(251,227,154,0.9);
  border: 2px solid rgba(251,227,154,0.9);
  animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
  from { opacity: 1; }
  to { opacity: 0.8; }
}
*/


@media (max-width: 480px) {
  .bet-panel.active {
    /* Замість колишнього top:20vh ставимо трохи більше */
    top: 65vh;
    /* Щоб панель не займала весь виспорт: не більше 75% висоти */
    max-height: 75vh;
    /* решта правил (bottom, transform тощо) лишаємо без змін */
  }
}



/* Секція ставок */
.bet-section {
  
  
  padding: 30px 40px;
  
  text-align: center;
  margin-bottom: 50px;
  border-radius: 25px;
}
.bet-input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* Поле вводу та кнопка (кольори залишено без змін) */
#bet-amount {
  padding: 15px;
  font-size: 18px;
  border: 1px solid #9fffc0;
  outline: none;
  text-align: center;
  background: rgba(255,255,255,0.1);
  color: #fff;
  /* видалив тінь box-shadow: 0 0 8px rgba(153,93,129,0.8);*/
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: 25px;
}
#bet-amount:focus {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}
#place-bet-button,
.preset-bet {
  padding: 15px 30px;
  font-size: 18px;
  border: 1px solid #9fffc0;
    background: linear-gradient(95.1deg, #2ee86f, #e9cd71 49.76%, #2ee86f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 25px;
}
#place-bet-button:hover {
  transform: scale(1.05);
}

/* Мобільні пристрої — ширина до 480px */
@media (max-width: 480px) {
  .preset-bet {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
  }
}

/* Контейнер секції поточних ставок */
.bets-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 20px 30px;
  backdrop-filter: blur(8px);
  border-radius: 25px;
  overflow: hidden;
  /* Можна залишити або змінити під ваш смак */
  background: rgba(0, 0, 0, 0.3);
}

/* Заголовок */
.bets-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFB2E6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Список ставок */
.bets-list {
  /* Розташування ставок у стовпчик */
  display: flex;
  flex-direction: column;
  gap: 15px;

  /* Темний фон, як у вашій другій картинці */
  background: #111;
  border-radius: 15px;
  position: relative;
  padding: 20px;
  margin-top: 20px;
}

/* Золота лінія зверху (псевдоелемент) */
.bets-list::before {
  content: "";
  position: absolute;
  top: 0;            /* Прикріплюємо до верхнього краю */
  left: 0;
  right: 0;
  height: 1px;       /* Товщина “підкреслення” */
  border-radius: 15px 15px 0 0;
  background: linear-gradient(90deg, rgba(240, 199, 119, 0), #fff 51%, rgba(240, 199, 119, 0));
}

/* Заголовок */
.bets-list h2 {
width: 100%;
position: relative;
font-size: 18px;
line-height: 150%;
display: inline-block;

background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: left;
}
/* Окрема картка ставки */
.bet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  /* Напівпрозорий темний фон усередині */
  background: rgba(255, 255, 255, 0.05);

  border-radius: 12px;
border: 1px solid rgba(46,232,111,0.18);
box-sizing: border-box;

  padding: 15px 20px;
  color: #fff;

  /* Анімація “випливання” */
  opacity: 0;
  transform: translateY(20px);
  animation: betFadeIn 0.6s forwards;
}


@media (max-width:480px){
  /* робимо картку вертикальною */
  .bet-card{ flex-direction:column !important; gap:10px !important; }

  /* ліва частина (аватар + ім’я) на всю ширину */
  .bet-card-left{ width:100% !important; }

  /* статистика-пілюля на всю ширину */
  .bet-card-right,
  .bet-card-stats{
      width:100% !important;
  }

  /* сама пілюля — компактніша та без вертикальної риски */
  .bet-card-stats{
      display:flex !important;
      justify-content:space-between !important;
      align-items:center !important;
      padding:8px 12px !important;
      font-size:12px !important;
  }
  .bet-divider{ display:none !important; }

  /* картинки дрібніші */
  .bet-item-img{ width:28px !important; height:28px !important; }
}


@keyframes betFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ліва частина (аватар + ім’я + предмети) */
.bet-card-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Аватар */
.bet-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}
.bet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ім’я користувача */
.bet-userinfo {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}
.bet-username {
  font-size: 1.2em;
  font-weight: bold;
  flex: 1;
  text-align: center;
}

/* Предмети (якщо є) */
.bet-items {
  display: flex;
  gap: 5px;
}
.bet-item-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* Права частина (блок із балами/квитками та шансом/діапазоном) */
.bet-card-right {
  flex-shrink: 0;
}
.bet-card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 10px 15px;
  gap: 12px;
  width: 300px;
}



/* Ліва колонка (бали + квитки) */
.bet-points-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;; 
}
.bet-points {
  font-size: 0.95rem;
  font-weight: 600;
}
.bet-tickets-count {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Розділювач між двома колонками */
.bet-divider {
  display: none;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, #2ee86f, #0b8f43);
}

/* Права колонка (шанс + діапазон) */
.bet-chance-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bet-chance {
  font-size: 0.95rem;
  font-weight: 600;
}
.bet-ticket-range {
  font-size: 0.85rem;
  opacity: 0.8;
}


/* Кнопки для спільного використання (кольори залишено без змін) */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.share-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: linear-gradient(135deg, #2ee86f, #9cff1a);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 1px solid rgba(255,20,147,0.8);
  border-radius: 25px;
}
.share-buttons button:hover {
  transform: scale(1.05);
}

/* Сповіщення */
#message-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 100000 !important;
  width: 240px;
}
.message {
  padding: 15px 25px;
  border-radius: 15px;
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.message.show {
  opacity: 1;
  transform: translateY(0);
}
.success { background-color: #28a745; }
.error { background-color: #dc3545; }

/* Конфетті */
#confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10000;
}
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #2ee86f;
  opacity: 0.7;
  animation: fall 3s linear forwards;
}
@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Завантажувальний екран */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #2ee86f;
  font-size: 24px;
  border-radius: 25px;
}
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #2ee86f;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Модальне вікно для предметів */
#advanced-item-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  padding: 60px 20px;
  overflow: auto;
}
#advanced-item-modal[style*="block"] {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.modal-content-advanced {
  /* Зроблено трохи прозорішим */
  background-color: rgba(30,30,45,0.85);
  margin: auto;
  padding: 20px;
  width: 600px;
  max-width: 100%;
  border: 2px solid transparent;
  border-radius: 25px;
  position: relative;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.close-btn-advanced {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
}
.modal-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
}
.modal-left {
  flex: 1;
}
.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.modal-stickers img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 25px;
}
.modal-content-advanced.hide {
  opacity: 0;
}

/* Анімація для виграшу */
#game-timer.won {
  animation: flash 0.5s alternate 6;
}
@keyframes flash {
  from {
    background-color: rgba(155, 89, 182, 0.7);
  }
  to {
    background-color: rgba(233, 30, 99, 0.7);
  }
}

/* Адаптивність */
@media (max-width: 1024px) {
  .main-container {
    padding: 20px;
    margin: 0px 0px;
  }

  .bet-section, .bets-section, .share-buttons {
    padding: 20px;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  #bet-amount { width: 90%; }
  #place-bet-button { margin-left: 0; margin-top: 15px; width: 90%; }
  #bets-table th, #bets-table td { padding: 10px 15px; font-size: 14px; }
  .modal-body { flex-direction: column; }
  #game-timer {
    font-size: 21px;
  }
}

/* Для телефонів */
@media (max-width: 480px) {

  .bet-input-container {
    display: flex;
    width: 100%;
    height: 50px;
  }
  #bet-amount,
  #place-bet-button {
    height: 100%;
    font-size: 16px;
    
    margin: 0;
  }
  #bet-amount {
    width: 60%;
    padding: 0 10px;
    line-height: 50px;
  }
  #place-bet-button {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  #bets-table th, #bets-table td {
    padding: 8px;
    font-size: 12px;
  }
  .bets-section img.avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
  }
  #place-bet-button i {
    margin-right: 5px;
  }
 
}



/* Перемикач режимів ставок (toggle) з slider-анімацією */
.bet-mode-toggle {
  display: inline-flex;
  background: linear-gradient(90deg, rgba(46,232,111,0.18), rgba(46,232,111,0.04));
  border: 1px solid #9fffc0;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}
.bet-mode-toggle input[type="radio"] {
  display: none;
}
.bet-mode-toggle label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  color: #fff;
  text-align: center;
  z-index: 2;
}
.bet-mode-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  border-radius: 25px;
  transition: transform 0.3s ease;
  z-index: 1;
}
.bet-mode-toggle.active::before {
  transform: translateX(100%);
}
@media (max-width: 480px) {
  .bet-mode-toggle label {
    padding: 6px 10px;
    font-size: 12px;
  }
}

#selected-items-grid {
  order: 1; 
  max-height: 400px !important;
}

#selected-items-area {
  margin: 20px 0 100px 0;
}

#selected-items-grid .item-block {
    justify-self: center;
}

#user-items-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#user-items-container h3 {
  margin-bottom: 25px;
}

#user-inventory {
  max-height: 550px !important;
  overflow-y: auto !important;
  order: 2;
}




.site-footer,
.footer-container p {
  
  font-size: 0.65em;
  color: rgba(128, 128, 128, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer {
    background-color: #0d0d0d;
    color: #f0f0f0;
    padding: 30px 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    pointer-events: none;
}

.footer-container p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.85em;
}

.footer-container p:first-child {
    font-size: 0.9em;
    font-weight: 500;
}

.footer-container p:last-child {
    margin-top: 10px;
    font-size: 0.75em;
    font-style: italic;
    color: #bbbbbb;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    pointer-events: auto;
}

.footer-links li a {
    background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links li a:hover {
    color: #9cff1a;
    text-decoration: underline;
    transform: translateY(-1px);
}





/* Стиль для невідомої аватарки */
.unknown-avatar {
  background: url('Gold-unknown-avatar.jpg') no-repeat center center;
  background-size: cover;
}

/* Пульсуючий ефект для аватарок */
.avatar-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.avatar-rotate {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slowSpin {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slow-roulette-container {
  display: flex;
  width: 1000000px;
  height: 200px;
  overflow: hidden;
  animation: slowSpin 40000s linear infinite;
}

@media (max-width: 480px) {
  .bets-section h2 {
    font-size: 1.3em;
  }
}

.stat-label,
.stat-divider,
.stat-value {
  vertical-align: middle;
}


/* Стили для вкладок інвентаря */


.banner-button {
  padding: 3px 20px;
  background: #1a1a1a;          /* темний фон (змінюйте за бажанням) */
  border: 1px solid rgba(46,232,111,0.18);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  /* Скидаємо всі заокруглення */
  border-radius: 0;
}

/* Заокруглюємо лише верхній лівий кут */


/* Заокруглюємо лише верхній правий кут */
.banner-button:last-child {
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

/* Активна вкладка (наприклад, золота заливка) */
.tab-button.active {
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #FFF;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  padding: 3px 20px;
  border: 1px solid rgba(46,232,111,0.18);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;

}

.inventory-tabs {
  display: inline-flex;
  justify-content: flex-start; 
  gap: 0; /* без проміжків між кнопками */
  margin-bottom: 20px;
  margin-top: 10px;
}

/* Текст у неактивній вкладці */
.tab-button:not(.active) {
  position: relative;
  font-size: 16px;
  line-height: 150%;
  
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}


/* Стилізація секції депозитованих предметів */
#deposited-items-section {
  /*border: 1px solid rgba(46,232,111,0.18);*/
  margin-bottom: 50px;
  border-radius: 25px;
  text-align: center;
}

/* Заголовок секції депозитованих предметів */
#deposited-items-section h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFB2E6;
  text-transform: uppercase;
}

/* Контейнер для карток депозитованих предметів */
#deposited-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

/* Панель для підсумкової інформації */
/* Контейнер панелі підсумкової інформації */
#deposit-summary {
  position: relative;                /* Для абсолютного позиціонування summary-block */
  display: flex;
  align-items: center;
  justify-content: center;           /* Центрує кнопку */
  padding: 15px 20px;
  margin-bottom: 20px;
  
  border-radius: 25px;
  box-sizing: border-box;
}

/* Блок "Загальна вартість" (summary-block) позиціонується абсолютно зліва */
.summary-block {
  position: absolute;
  left: 0px;                        /* Вирівнюється по лівому краю контейнера (відступ = 20px, як в padding) */
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;             /* Повністю округлена "пілюля" */
  padding: 10px 15px;
  gap: 10px;
}

/* Стилізація текстових елементів summary-block */
.summary-label {
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.summary-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, #2ee86f, #0b8f43);
}

.summary-value {
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.summary-unit {
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

/* Кнопка, яка розташовується по центру flex-контейнера */
#deposit-summary button {
  padding: 8px 15px;
  font-size: 0.9em;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

#deposit-summary button:hover {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  /* Контейнер */
  #deposit-summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;  /* Елементи займають повну ширину */
    padding: 15px 20px;
    margin-bottom: 20px;
    /* Можна зберегти фон, border-radius, box-sizing як у десктопі */
  }

  /* Блок "Загальна вартість" тепер стає нормальним блоком, займає всю ширину */
  #deposit-summary .summary-block {
    position: static;      /* Скасовуємо абсолютне позиціонування */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;   /* Відступ між блоком і кнопкою */
    font-size: 0.93em;
  }

  /* Кнопка займає всю ширину і розташовується під summary-block */
  #deposit-summary button {
    width: 100%;
    padding: 10px 15px;
    font-size: 1em;
    align-self: center;    /* Центруємо кнопку, якщо потрібно */
  }
  
}



/* Стиль для кастомних чекбоксів */
.select-deposit-item {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255,20,147,0.5);
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, border 0.3s ease;
  position: relative;
  margin-right: 8px;
}

.select-deposit-item:checked {
  background-color: #2ee86f;
  border: 2px solid #9cff1a;
}

.select-deposit-item:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Заокруглені блоки для кожного предмета */
/* Основний контейнер картки */
.item-card {
  position: relative;                    /* щоб можна було розміщувати елементи поверх */
  background: #000;
  border-radius: 25px;
  width: 200px;
  padding: 10px;
  margin: 3px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.9em; /* Загальний розмір шрифту в картці */

}

/* Контейнер для «Вартість» і «Шанс скіна», щоб вони були у верхньому лівому кутку */
.item-label-container {
  position: absolute; /* абсолютне позиціювання всередині .item-card */
  top: 10px;
  left: 10px;
  display: flex;      /* розташування один під одним */
  flex-direction: column;
  gap: 6px;           /* відступ між лейблами */
}

.item-label {
  border-radius: 6px;
  background-color: rgba(240, 199, 119, 0.22);
  border: 0.5px solid #9cff1a;
  /* замість flex можна використати inline-flex або inline-block */
  display: inline-flex; 
  align-items: center;
  padding: 2px 4px;
  width: fit-content; /* щоб ширина підлаштовувалася під вміст */
  max-width: 100%;    /* запобігає виходу за межі батька */
  font-size: 0.8em;
}


/* Картинка предмета */
.item-image {
  margin-top: 50px; /* щоб картинка опустилася нижче лейблів */
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Назва предмета */
.item-name {
  color: #fff;
  margin-bottom: 10px;
  
}

/* Перша кнопка (чорний фон, золота рамка) */
.item-button-black {
  width: 100%;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  border: 1px solid #2ee86f;
  border-radius: 6px;
  margin-bottom: 7px;
  padding: 8px 15px;
  font-size: 0.9em;
  font-weight: 600;
  font-weight: bold;
  
  cursor: pointer;
  transition: background 0.3s ease;
}
.item-button-black:hover {
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Друга кнопка (золотий фон, чорний текст) */
.item-button-gold {
  width: 100%;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #FFF;
  margin-bottom: 7px;
  border: none;
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.3s ease;
}
.item-button-gold:hover {
  filter: brightness(1.1);
}

/* десь поруч із .item-button-gold */
.btn-withdraw {
  margin-top: 8px;
  padding: 6px 8px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-withdraw:hover {
  background-color: #9cff1a;
}

.buttons-block {
  display: flex;
  flex-direction: column; /* тепер кнопки підряд одна під одною */
  gap: 8px;               /* відстань між ними */
}

/* Ефекти при наведенні на картку */
.item-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 8px rgba(61,51,33,0.8);
}

/* Стиль, коли картка виділена (наприклад, при кліку/чекбоксі) */
.item-card.selected {
  border: 2px solid #9fffc0;
  box-shadow: 0 0 15px rgba(46,232,111,0.44);
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Адаптив під мобільні */
@media (max-width: 480px) {
  #deposited-items-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 8px !important;
    justify-items: center;
  }
  .item-card {
    width: 100% !important;
    height: auto;
    padding: 10px !important;
    margin: 0 0 5px 0;
    font-size: 0.75em !important;
  }
  
  .item-image {
    width: 80px !important;
    height: 80px !important;
    margin-top: 5 !important;
    object-fit: cover;
    border-radius: 4px !important;
  }
}


/* Загальний контейнер для обох блоків */
.bets-stats {
  display: flex;                /* В ряд */
  justify-content: center;      /* Центруємо */
  align-items: center;
  gap: 20px;                    /* Відстань між двома блоками */
  margin-bottom: 20px;
}


.stat-block-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  background: linear-gradient(180deg, #1b1b1b, #000);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  
  height: 40px;
  padding: 0 16px;
  min-width: 150px;
}

.stat-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Темний фон із легкою градієнтною підсвіткою (можна змінити) */
  background: linear-gradient(180deg, #1b1b1b, #000);

  /* Тонка світла обводка (можна прибрати або змінити колір/прозорість) */
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Округлені кути, щоб вийшла “пілюля” */
  border-radius: 9999px;

  /* Розміри: висота ~40px, горизонтальні відступи */
  height: 40px;
  padding: 0 16px;
  
  /* Трохи тіні всередині, щоб додати ефект об’єму (необов’язково) */
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);

  /* Якщо потрібно, мінімальна ширина, щоб блок не стискався надто сильно */
  min-width: 150px;
}

/* Текст лейбла (наприклад, “Ваш шанс:”) */
.stat-label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;       /* Можна зробити bold = 600 чи 700 */
  white-space: nowrap;
}

/* Вертикальна золота риска */
.stat-divider {
  display: inline-block;
  width: 1px;
  height: 16px;           /* Трохи нижча за висоту блоку */
  margin: 0 8px;          /* Відступи ліворуч/праворуч від лінії */
  background: linear-gradient(180deg, #2ee86f, #0b8f43);
}

/* Значення (наприклад, “0.00%” / “0 балів”) */
.stat-value {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Кнопка “Зробити ставку” (третій блок) */
.toggle-bet-panel-button {
  /* Видаляємо position: fixed, щоб вона була звичайним елементом */
  padding: 10px 20px;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);

  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
/* --- Адаптація під мобільні пристрої --- */
@media (max-width: 768px) {
  .bets-stats {
    /* Дозволяємо елементам переноситись на новий ряд */
    flex-wrap: wrap;
    justify-content: center; /* Центруємо по горизонталі */
    gap: 7px;               /* Трохи менший проміжок */
  }

  /* Два блоки (#winning-chance, #potential-win) мають ~половину ширини,
     щоб ставати в один ряд. Якщо екран дуже вузький – вони все одно 
     перенесуться, але зазвичай ставатимуть поруч. */
  #winning-chance,
  #potential-win {
    flex: 1 1 auto;
    min-width: 0px;           /* Щоб не стискалися надто */
    display: flex;              /* Залишаємо ваші стилі, можна inline-flex */
    justify-content: space-between; /* Перший блок прижимається до лівого краю, другий — до правого */
  }

  /* Кнопка займає 100% ширини і переходить на новий ряд */
  .toggle-bet-panel-button {
    flex: 1 1 100%;
    margin-top: 10px;    /* Невеликий відступ зверху */
    align-self: center;  /* Центруємо кнопку, якщо треба */
  }
  .stat-label,
  .stat-value {
    font-size: 11px;
  }
  .stat-block{
   padding: 0 10px;
  }
}

@media (max-width: 900px) {
  .logo-container {
    display: none;
  }
  .left-side-nav {
    display: none; /* на дуже малих екранах можна сховати ліву панель */
  }
  .top-bar {
    background: none;
    backdrop-filter: none;
    top: 15px;
  }
}

#fairplay-hash {
    font-size: 15px;
    }

@media (max-width: 480px) {
  #steam-inventory-container {

    justify-items: center;
    justify-content: center;
  }

  #fairplay-hash {
    font-size: 10px;
    }

}






/* Контейнер панелі ставок */
.bet-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90%; /* можна змінити за потребою */
  background: #111;
  transform: translateY(100%); /* сховано вниз */
  transition: transform 0.3s ease-out;
  z-index: 1999;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  overflow-y: auto;
}

/* Коли панель активна, вона висувається */
.bet-panel.active {
  transform: translateY(0);
  z-index: 1999;
}

/* Стилізація кнопки закриття всередині панелі */
.close-bet-panel-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: none;
  border-radius: 12px;
  border: 1px solid #9cff1a;
  font-size: 24px; /* Можна трохи зменшити */
  color: #9cff1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0; /* Видаляє зайві вертикальні відступи */
}

.close-bet-panel-button::before {
  content: "×"; /* Додаємо символ безпосередньо */
  font-size: 20px; /* Змінюємо розмір символу, щоб був в центрі */
}

/* =========================== */
/* Стилі для нової панелі інвентаря (унікальні ID і класи) */
/* =========================== */



.inventory-panel-new {
  position: fixed;
  right: -100%; /* Початково прихована */
  top: 0;
  width: 650px; /* Ширина для десктопу */
  height: 100%;
  background: #222; /* Темний фон */
  color: #fff;
  z-index: 10000;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

/* Для мобільної версії */
@media (max-width: 768px) {
  .inventory-panel-new {
    width: 350px; /* Ширина для мобільних пристроїв */
  }
}


.inventory-panel-new.active {
  right: 0;
}

.close-panel-button-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.inventory-tabs-new {
  display: flex;
  border-bottom: 1px solid #444;
  margin-bottom: 15px;
}

.tab-button-new {
  flex: 1;
  padding: 10px;
  background: #333;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tab-button-new.active {
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #FFF;
}

.inventory-section-new {
  padding: 10px;
}

/* Депозитовані (ваші) предмети */
#deposited-items-container-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

/* Steam-інвентар */
#steam-inventory-container-new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Відображення загальної вартості інвентаря */
#total-inventory-value-new {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #9fffc0;
}

/* Кошик нової панелі */
.inventory-cart-new {
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 10px;
}
.inventory-cart-new h4 {
  margin: 0 0 10px;
  text-align: center;
}
#inventory-cart-items-new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
#inventory-cart-total-new {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #9fffc0;
}
#inventory-cart-submit-new {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

#inventory-cart-submit-new:hover {
  background: #2ee86f;
}

/* Приклад базових стилів для блоків предметів */
.item-block {
  position: relative;
  padding: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  max-width: 140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.item-block:hover {
  transform: scale(1.03);
}

.item-block img {
  width: 100%;
  height: 100px;
  border-radius: 25px;
  object-fit: cover;
}

.item-block .item-name {
  text-align: center;
  margin-top: 8px;
  font-size: 0.95em;
}

/* Ціна (балів) */
.item-block .item-price {
  text-align: center;
  margin-top: 4px;
  font-size: 0.9em;
  color: #9fffc0;
}






.add-to-cart-button{
  margin-top: 8px;
  padding: 6px 8px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 49.76%, #2ee86f);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


/* Контейнер */
.shop-controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}

/* Лейбл з іконкою */
.shop-controls__label {
  font-size: 0.95em !important;
  color: #2ee86f !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Головний селект */
.shop-controls__select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding: 6px 30px 6px 12px !important;
  font-size: 0.95em !important;
  border-radius: 12px !important;
  border: 1px solid rgba(46,232,111,0.3) !important;
  background: linear-gradient(95.1deg, #2ee86f, #0b8f43 50%, #2ee86f) !important;
  color: #000 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  position: relative !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px !important;
  transition: transform 0.2s ease !important, box-shadow 0.2s ease !important;
}

/* Псевдо-стрілка через data-URI */
.shop-controls__select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

/* Hover / фокус */
.shop-controls__select:hover,
.shop-controls__select:focus {
  transform: scale(1.03) !important;
  box-shadow: 0 0 8px rgba(221, 191, 106, 0.6) !important;
  outline: none !important;
}

/* Відключений стан */
.shop-controls__select:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}


/* Підтвердження */
#confirm-overlay {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;  /* дуже велике значення */
}

#confirm-box {
  background: #333;
  padding: 20px;
  border-radius: 15px;
  max-width: 300px;
  text-align: center;
  color: #fff;
}
#confirm-text {
  margin-bottom: 15px;
  font-size: 16px;
}
.confirm-buttons {
  display: flex;
  justify-content: space-between;
}
.confirm-buttons .message {
  opacity: 1;               /* щоб кнопки завжди видимі */
  transform: none;
  margin: 0;
  width: 45%;
  cursor: pointer;
  text-align: center;
}

/* "i" */
.info-wrapper   { position: relative; display: inline-block; }
.info-icon      {
  display: inline-flex; align-items:center; justify-content:center;
  width: 16px; height:16px; margin-left:6px;
  border: 1px solid #9cff1a;          
  border-radius: 50%;                  
  font: 12px/1 'Segoe UI', sans-serif; color:#9cff1a;
  cursor: pointer; user-select: none;
}

.info-wrapper:hover .tooltip { display:block; }



.tooltip {
  position: absolute; left: 50%; top: 120%;
  transform: translateX(-50%);
  background:#1f1f1f; color:#fff; padding:8px 12px;
  border-radius:6px; font-size:17px;
  box-shadow:0 4px 12px rgba(0,0,0,.4); display:none; z-index:20;
  width: 305px;
}
.tooltip::after{               
  content:''; position:absolute; top:-6px; left:50%;
  transform:translateX(-50%);
  border:6px solid transparent; border-bottom-color:#1f1f1f;
}
.tooltip.visible { display:block; }


/* Планшети: кнопка під summary-block */
@media (min-width: 768px) and (max-width: 1024px) {
  /* сам контейнер */
  #deposit-summary {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* робимо summary-block «нормальним» блоком зверху */
  #deposit-summary .summary-block {
    position: static      !important;
    width: 100%           !important;
    display: flex        !important;
    justify-content: space-between !important;
    margin-bottom: 10px   !important;
  }

  /* кнопка займає всю ширину під summary-block */
  #deposit-summary button {
    position: relative    !important;
    width: 100%           !important;
    margin: 0              !important;
    padding: 10px 15px     !important;
    align-self: center    !important;
  }

  .left-side-nav {
    display: none;
  }
}

