/* Современное быстрое меню сервисов с SVG иконками */
.svg_sprite{display:none}
.svg_icon{display:inline-block;width:1em;height:1em;max-height:50%;-webkit-transition:.3s linear;-moz-transition:.3s linear;transition:.3s linear}

.svg_cryptocurrencies{width:16px;height:16px}
.svg_informers{width:16px;height:16px}
.svg_borate{width:16px;height:16px}
.svg_brokersrate{width:16px;height:16px}
.svg_exchangerate{width:16px;height:16px}
.svg_forum{width:16px;height:16px}
.svg_journal{width:16px;height:16px}
.svg_news{width:16px;height:16px}
.svg_forex{width:16px;height:16px}
.svg_interestrate{width:16px;height:16px}
.svg_converter{width:16px;height:16px}
.svg_calendar{width:16px;height:16px}
.svg_contest{width:16px;height:16px}
.svg_monitoring{width:16px;height:16px}

.fx_menu{
  margin: 2.5px -2.5px 17.5px -2.5px !important;
  display: block !important;
  clear: both !important;
  width: 100% !important;
  overflow: hidden !important;
}

.fx-menu__row{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2.5px !important;
  justify-content: flex-start !important;
}

.fx-menu__link{
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  background-color: #ffffff !important;
  border: 1px solid #e1e8ed !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  width: calc(14.28% - 2.5px) !important;
  min-width: 60px !important;
  height: 60px !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
}

.fx-menu__link>span{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  line-height: 10px !important;
  display: block !important;
  text-align: center !important;
  margin-top: 3px !important;
  max-height: 20px !important;
  overflow: hidden !important;
  word-wrap: break-word !important;
}

.fx-menu__link:last-child{
  margin-top:1px !important;
}

.fx-menu_default .svg_icon{
  fill:#787878 !important;
}

.fx-menu_default:hover .svg_icon{
  fill:#0052cc !important;
}

.fx-menu_default:hover{
  background-color: #f8f9fa !important;
  border-color: #0052cc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2) !important;
}

.fx-menu_orange{
  background-color:#fff0d1 !important;
  border-color:#ffd582 !important;
}

.fx-menu_orange>span{
  color:#cc921f !important;
}

.fx-menu_orange>.svg_icon{
  fill:#cc921f !important;
}

.fx-menu_orange:hover{
  background-color:#ffe7b8 !important;
  border-color:#ffc44f !important;
  transform: translateY(-1px) !important;
}

.fx-menu_orange:hover span{
  color:#b2801b !important;
}

.fx-menu_orange:hover .svg_icon{
  fill:#b2801b !important;
}

.fx-menu_green{
  background-color:#e5f7d7 !important;
  border-color:#aee583 !important;
}

.fx-menu_green>span{
  color:#5bb000 !important;
}

.fx-menu_green>.svg_icon{
  fill:#5bb000 !important;
}

.fx-menu_green:hover{
  background-color:#d7f7be !important;
  border-color:#94e555 !important;
  transform: translateY(-1px) !important;
}

.fx-menu_green:hover span{
  color:#4e9600 !important;
}

.fx-menu_green:hover .svg_icon{
  fill:#4e9600 !important;
}

/* Активное состояние в стиле Bybit */
.fx-menu__link.active{
  background-color: #0052cc !important;
  border-color: #0052cc !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.3) !important;
}

.fx-menu__link.active span{
  color: #fff !important;
  font-weight: 600 !important;
}

.fx-menu__link.active .svg_icon{
  fill: #fff !important;
}

.fx-menu__link.active:hover{
  background-color: #0043aa !important;
  border-color: #0043aa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(0, 82, 204, 0.4) !important;
}

/* Адаптивность - уменьшенные квадратные кнопки */
@media (max-width: 1200px) {
  .fx-menu__link{
    width: calc(16.66% - 2.5px) !important;
    min-width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 992px) {
  .fx-menu__link{
    width: calc(20% - 2.5px) !important;
    min-width: 45px !important;
    height: 45px !important;
  }
}

@media (max-width: 768px) {
  .fx-menu__link{
    width: calc(25% - 2.5px) !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 3px !important;
  }
  
  .fx-menu__link>span{
    font-size: 8px !important;
    margin-top: 2px !important;
  }
  
  .svg_cryptocurrencies,
  .svg_informers,
  .svg_borate,
  .svg_brokersrate,
  .svg_exchangerate,
  .svg_forum,
  .svg_journal,
  .svg_news,
  .svg_forex,
  .svg_interestrate,
  .svg_converter,
  .svg_calendar,
  .svg_contest,
  .svg_monitoring{
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 576px) {
  .fx-menu__link{
    width: calc(33.33% - 2.5px) !important;
    min-width: 35px !important;
    height: 35px !important;
  }
  
  .fx-menu__link>span{
    font-size: 7px !important;
    line-height: 8px !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 480px) {
  .fx-menu__link{
    width: calc(50% - 2.5px) !important;
    min-width: 30px !important;
    height: 30px !important;
    padding: 2px !important;
  }
  
  .fx-menu__link>span{
    font-size: 6px !important;
    line-height: 7px !important;
    margin-top: 1px !important;
  }
  
  .svg_cryptocurrencies,
  .svg_informers,
  .svg_borate,
  .svg_brokersrate,
  .svg_exchangerate,
  .svg_forum,
  .svg_journal,
  .svg_news,
  .svg_forex,
  .svg_interestrate,
  .svg_converter,
  .svg_calendar,
  .svg_contest,
  .svg_monitoring{
    width: 12px !important;
    height: 12px !important;
  }
}
