.wht {color:#fff;}

.dop1 {margin:5px;
 
   
background: linear-gradient(135deg, #4688D8, #395EC4); 
   
color: white;padding-right: 6px ; padding-left: 6px ; /* Немного меньше сверху */ border-radius: 4px; font-size:18px;
 width: fit-content;  
}

 .uppercase  {text-decoration:underline!important;}
 .uppercase a {text-decoration:underline!important;}

.con {
    padding: 10px;
     margin-top:15px;
}

.pc-button {
    padding: 8px 16px;
    border: 3px solid #b0b0b0;
    border-bottom-color: #8c8c8c;
    border-right-color: #8c8c8c;
    background-color: #c0c0c0;
    color:#1b293d;
    font-size: 40px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    line-height: 1.2;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.24), 
        0 4px 15px rgba(0, 0, 0, 0.12);
       
}

svg {
  vertical-align: middle; /* или bottom/text-bottom */
  display: inline-block;
}

.row-no-wrap {
  white-space: normal !important; /* Основной перенос текста */
  word-wrap: break-word;         /* Перенос длинных слов */
  overflow-wrap: break-word;     /* Современный аналог word-wrap */
  hyphens: auto;                 /* Перенос с дефисами (опционально) */
}

/* Для span внутри тоже добавим перенос */
.row-no-wrap span {
 
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.row-no-wrap {
  white-space: nowrap;
  display: block;
  margin-bottom: 8px;
  line-height: 1.4;
}

.spcl-label, .awkn-label, .price-label {
  display: inline-block;
  background: linear-gradient(135deg, transparent, transparent);
  color: white;
  padding: 3px 8px 4px 8px; /* Немного меньше сверху */
  border-radius: 4px;
 font-size:18px;
 
  margin-right: 6px;
  position: relative;
  top: -0.5px; /* Поднимаем на 1px */
  line-height: 1.2;
}

 .price-label {
background: linear-gradient(135deg, #4688D8, #395EC4);



 font-size:18px;
}

.spcl-label {
  background: linear-gradient(135deg, #4834d4, #686de0);
}

.awkn-label {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}



.h2-special {font-size:20px;margin-top:20px;margin-bottom:20px;}

#tab2.tab-content {
    background-color: #2d4362; /* Основной фон */
        border-right: 1px solid #1b293d;
   
}


#tab5.tab-content {
    background-color: #1b293d; /* Основной фон */
        border-right: 1px solid #1b293d;
   
}

.heading-wrapper {
  display: flex;
  align-items: center; /* Vertically centers SVG with heading text baseline */
  gap: 12px; /* Space between icon and text; adjust for your design */
  margin: 15px; /* Bottom margin for heading spacing; top/right/left as needed */
  font-size:20px;
  color:#fff;
  justify-content: center;
  
}


.chart-container { 
    height: 200px; 
    position: relative; 
   margin-top:8px;
    overflow-x: auto;
}
.fruits-legend { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin: 10px 0;
    flex-wrap: wrap;
}
.header-icon { width: 28px; height: 28px; border-radius: 4px; }
.fruits-data { font-size: 0; } /* Скрываем данные */




.iconify {
  flex-shrink: 0; /* Prevents SVG from compressing */
  vertical-align: middle; /* Fallback baseline alignment */
}


.way {font-size:14px;}

.way a {text-decoration:underline;}

/* Дефолтно активный первый таб */
.bf-tab-btn:first-child {
  position: relative;
}

.bf-tab-btn:first-child::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: #d83434;
  border-radius: 2px 2px 0 0;
  z-index: 10;
}




/* Подчеркивание для активного таба mythical */
.bf-tabs-active {
  position: relative;
}

.bf-tabs-active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: #d83434;
  border-radius: 2px 2px 0 0;
  z-index: 10;
}


.bf-tab-wrapper {
  width: 100%;
  min-height: 400px;
}

.bf-tab-panel {
  width: 100%;
  animation: bfFadeIn 0.3s ease-in;
}

.bf-tab-panel-inner {
}

.bf-tab-btn.bf-active {
  position: relative;
}

.bf-tab-btn.bf-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #d83434;
  border-radius: 2px 2px 0 0;
  z-index: 10;
}

@keyframes bfFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Только для mythical tabs active индикатор */
.mythical-active {
  position: relative;
}

.mythical-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #d83434;
  border-radius: 2px 2px 0 0;
  z-index: 10;
}





.bf-trades-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 1px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.bf-trades-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bf-trade-item {
   background: #252b42;
    border-radius: 1px;
    cursor: pointer;
      border: 2px solid #334155;
    overflow: hidden;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
}

.bf-trade-item:hover {
    background: #2d3558;
  
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.bf-trade-avatar-section {
    display: flex;
    align-items: center;
    padding: 5px;  /* обычный padding */
    border-bottom: 1px solid #334155;
}

.bf-trades-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
   flex-shrink: 0; 


}

.bf-trades-owner {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 18px;
    flex: 1;
    min-width: 0;
    margin-left: -50px !important;  /* ← ФИКС */
}





.bf-trade-time {
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    background: rgba(0,0,0,0.2);
}

.bf-trade-offers {
    padding: 5px;
}

.bf-trades-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bf-trades-offer, .bf-trades-request {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 5px;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(59, 130, 246, 0.3);
    flex: 1;
    min-width: 100px;
    text-align: center;
        box-sizing: border-box;
        clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
}

.bf-trades-request {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
        box-sizing: border-box;
}


.bf-trades-arrow {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .bf-trades-container {
        max-width: 100%;
        margin: 0;
        padding: 5px;
    }
    
    .bf-trade-avatar-section {
        flex-direction: column;
        text-align: center;
   
        padding: 5px;
    }
    
    .bf-trades-owner {
        font-size: 14px;
          margin: 2px !important;  /* ← ФИКС */
    }
    
    .bf-trades-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .bf-trades-offer, .bf-trades-request {
        width: 100%;
        padding: 5px;
        font-size: 14px;
    }
}










.trading-list {
    max-width: 800px;
    width: 100%;              /* ← Обязательно добавьте */
    margin: 0 auto;
    box-sizing: border-box;   /* ← Включает padding/border */
    padding: 0;               /* ← Сбрасывает внутренние отступы */
    overflow-x: hidden;       /* ← Прятать горизонтальный скролл */
}

/* Для всех детей */
.trading-list * {
    max-width: 100%;          /* ← НИ ОДИН ребенок не шире родителя */
    box-sizing: border-box;
}



.h1-white-big {
  display: flex;
  align-items: center;       /* Вертикальное выравнивание */
  justify-content:center;
  gap: 16px;                 /* Отступ между SVG и текстом */
}

.h1-white-big svg {
  flex-shrink: 0;            /* SVG не сжимается */
  width: 60px;               /* Фиксированный размер */
  height: 60px;
}


.item-row {
  display: flex;
  align-items: center;     /* Вертикальное выравнивание по центру */
  justify-content: center;
  gap: 12px;               /* Отступы между элементами */
}

.middle-svg {
  width: 24px;             /* Фиксированный размер SVG */
  height: 24px;
  flex-shrink: 0;          /* Не сжимается */
}

.side-img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

span {
  font-size: 16px;         /* Текст тоже выровняется */
}


.owner {margin-top:10px; font-weight:600;}
.timetrade { font-size:15px;}

.main-page-news {
    width: 100%;           /* Растягивает на всю ширину родителя */
    max-width: 1700px;     /* Ограничение сверху */
    margin: 0 auto;        /* Центрирование */
    box-sizing: border-box; /* Учитывает padding/border в ширину */
}

.type2 {font-size:12px;}

.fruit {font-size:1.1rem; overflow-wrap: break-word;  /* Современный стандарт */
  word-wrap: break-word;      /* Для совместимости со старыми браузерами */}

.image-wrapperd {
    position: relative;     /* контекст для tier */
    display: inline-block;  /* облегает картинку */
}

.image-wrapperd img {
    display: block;         /* убираем пустое место под картинкой */
    width: 100%;            /* или нужная ширина */
    height: auto;
    
}

.tier-pos2 {
    position: absolute;     /* теперь НЕ двигает картинку */
    top: 10px;
    right: 0px;
    z-index: 2;
}


.ctn1 {
  margin-top: 30px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.ctn2 {
  display: contents;
}

/* ПЕРВАЯ ctn3 - КАРТИНКА (1 колонка) */
.ctn2 > .ctn3:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 3;
}

/* ВТОРАЯ ctn3 - ПЕРВЫЕ 3 SVG (2 колонка) */
.ctn2 > .ctn3:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

/* ТРЕТЬЯ ctn3 - ПОСЛЕДНИЕ 3 SVG (2 колонка, ниже) */
.ctn2 > .ctn3:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.ctn3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ctn4 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.ctn4 svg {
  flex: 0 0 24px !important;  /* grow:0 shrink:0 basis:24px */
  width: 33px !important;
  height: 33px !important;
  min-width: 33px;
  max-width: 33px;
}
.ctn1 .ctn4 h2 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
  line-height: 1.3;
}

.ctn6 {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ctn1 {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  
  .ctn2 > .ctn3:nth-child(1),
  .ctn2 > .ctn3:nth-child(3),
  .ctn2 > .ctn3:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }
  
  .ctn4 {
    flex-direction: row;
    gap: 12px;
  }
  
  .ctn4 svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}





.pravno {font-size:20px;margin-top:60px;}
.cards-fulls {padding-bottom:20px;}





@keyframes drift {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cell-unit li {
  position: relative;
  background: #2d4362;
  
  padding: 10px;
  border-radius: 1px;
  color: #d4d9e2;
  font-weight: 400;
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.4s ease;
}







.scale-comment-legend .sq-tier,
.scale-comment-legend .aq-tier,
.scale-comment-legend .bq-tier,
.scale-comment-legend .cq-tier,
.scale-comment-legend .dq-tier {
    width: 70px;
    height: 39px;
    position: absolute;
    top: 1px;
    right: 1px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    color: #000;
    line-height: 1;
    z-index: 2;
}

/* Текст обходит квадрат */
.scale-comment-legend p,
.scale-comment-legend {
    padding-right: 70px; /* Отступ справа под размер квадрата + запас */
    margin: 0;
}


.scale-comment-legend {
 background:#1b293d; 
color:#fff;
  border-radius:1px;
  padding:10px;
 

  font-size:16px;
  position: relative; /* Для позиционирования */
  }
  
  
  hr {border-color:#2d4362;    border-width: 0.5px;}
  
  
  .tier-pos {position:absolute; }
.tier-pos2 { }

.scale-comment-legend .tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 8px 10px;
    margin: 0;
    padding: 0;
}

.scale-comment-legend .tier-row {
    display: contents;
}

/* tier-item теперь содержит два блока рядом */
.scale-comment-legend .tier-item {
    display: grid;
    grid-template-columns: 70px 1fr; /* tier | текст */
    grid-template-rows: 1fr;
    gap: 4px;
    align-items: center;
    min-height: 45px;
}

/* Tier блоки - absolute внутри tier-item как раньше */
.scale-comment-legend .tier-item .sq-tier,
.scale-comment-legend .tier-item .aq-tier,
.scale-comment-legend .tier-item .bq-tier,
.scale-comment-legend .tier-item .cq-tier,
.scale-comment-legend .tier-item .dq-tier,
.scale-comment-legend .tier-item .eq-tier {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 70px;
    height: 39px;
    grid-column: 1; /* Первая колонка */
    grid-row: 1;
    margin: 0;
}

/* НОВЫЙ БЛОК - текст описания */
.scale-comment-legend .tier-text {
    background: #2d4362;
    grid-column: 2; /* Вторая колонка */
    grid-row: 1;
    margin-top:1px;
    padding: 6px 8px;
    font-size: 17px; /* Больше чем раньше */
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
  
    height: 45px; /* Ровно как tier */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* tier-item padding для обхода tier */
.scale-comment-legend .tier-item {
    padding-right: 75px;
    position: relative;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .scale-comment-legend .tier-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 6px;
        margin-left:-50px;
    }
    
    .scale-comment-legend {

  padding-bottom:0px;

  }
    
    
    
    .scale-comment-legend .tier-item {
        grid-template-columns: 70px 1fr;
        min-height: 50px;
    }
    
    .scale-comment-legend .tier-text {
        font-size: 17px;
        margin-top:-3px;
        padding: 8px 10px;
        height: 45px;
    }
}










.table-comment {text-align: left; margin: 0 5px;}

.h3tabs {margin:-6px; font-weight: 600;     font-family: Verdana, sans-serif;}


.underline a {text-decoration:underline;}

.news-section {
    display: flex;
    flex-direction: column;  /* Вертикальный stack */
    flex: 1;  /* Занимает доступное место в .container */
    width: 100%;
padding-left:25px;
padding-right:25px;
padding-top:10px;
}

#newsSearchContainer {
    width: 100%;
    order: -1;  /* Поиск строго первым (опционально) */
}

.news-list {
    flex: 1;  /* Новости растягиваются вниз */
}

.red-stroka {display:inline-block;}


@media (max-width: 480px) {
   
  .red-stroka {display:block;} 
   
    }



.scale-comment2 {
 background: #1b293d;                                       
color: #fff;
padding: 10px;
font-size: 16px;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #555 transparent;

}

.padding2 {margin-bottom:15px;}

.whitetxt {color:#fff;}

.scale-comment2 a {text-decoration:none;}

.contents a { text-decoration:underline;}

/* Контейнеры форм */
#customNewsSearchContainer,
#newsSearchContainer {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 25px;
    position: relative;   /* опорная точка для .search-icon */
    padding: 0;
    /* display: flex;      ← НЕ ИСПОЛЬЗУЕМ */
    /* align-items: center;*/
}

/* Иконка */
.search-icon {
    position: absolute;
    left: 18px;           /* внутри padding-left инпута */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.search-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Поля ввода (обе формы одинаково) */
#customNewsSearchBox,
#newsSearchBox {
    width: 100%;
    height: 50px;
    padding: 0 20px 0 50px !important;  /* 50px слева — место под иконку */
    font-size: 16px;
    border: 2px solid rgb(24, 49, 83);
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

#customNewsSearchBox:focus,
#newsSearchBox:focus {
    border-color: rgb(24, 49, 83);
    box-shadow: 0 0 0 3px rgba(54, 172, 161, 0.1);
    background: #fafbfc;
}

#customNewsSearchBox::placeholder,
#newsSearchBox::placeholder {
    color: #999;
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    #customNewsSearchContainer,
    #newsSearchContainer {
        margin-bottom: 20px;
    }

    #customNewsSearchBox,
    #newsSearchBox {
        height: 45px;
        padding: 0 16px 0 45px !important;
        font-size: 15px;
    }

    .search-icon svg {
        width: 20px;
        height: 20px;
    }
}




.news-compact-item {
    display: block;
    width: 100%;
    margin-bottom: 0px;
    padding: 0;
}

.news-compact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    
    width: 100%;
    height: 80px;
    position: relative;
    overflow: hidden;
    margin: 0;
    
    
    cursor: pointer;
    box-sizing: border-box;
}

.news-compact-card[data-random-color="true"] {
    background: #8aca64;
    border: 1px solid #6abc3a;
}

.news-compact-card[data-random-color="true"]:hover {
    background: #9fd87a;
    border-color: #7fcc4a;
}

.news-compact-img-left,
.news-compact-img-right {
    flex: 0 0 60px;
    height: 60px;
    width: 60px;
    margin: 0 8px;
}

.news-compact-img-left img,
.news-compact-img-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.news-compact-title-wrap {
    flex: 1;
    padding: 0 8px;
    display: flex;
    align-items: center;
   
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

.news-compact-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
}

/* Случайные цвета */
.news-compact-card.color-1 { background: #8aca64; border-color: #6abc3a; }
.news-compact-card.color-1:hover { background: #9fd87a; border-color: #7fcc4a; }
.news-compact-card.color-2 { background: #e05f5f; border-color: #d83434; }
.news-compact-card.color-2:hover { background: #e67373; border-color: #e14a4a; }
.news-compact-card.color-3 { background: #62869a; border-color: #38667f; }
.news-compact-card.color-3:hover { background: #7490a9; border-color: #4d778f; }
.news-compact-card.color-4 { background: #b399c2; border-color: #9f7db1; }
.news-compact-card.color-4:hover { background: #c1aad0; border-color: #af8dc1; }
.news-compact-card.color-5 { background: #ff7b51; border-color: #ff5722; }
.news-compact-card.color-5:hover { background: #ff8d66; border-color: #ff6833; }
.news-compact-card.color-6 { background: #36aca1; border-color: #009688; }
.news-compact-card.color-6:hover { background: #4bbdb0; border-color: #00a69b; }



/* Адаптивность */
@media (max-width: 1199px) {
    .news-compact-card { height: 72px; }
    .news-compact-img-left, .news-compact-img-right { flex: 0 0 52px; height: 52px; width: 52px; margin: 0 6px; }
    .news-compact-title-wrap { padding: 0 6px; }
    .news-compact-title { font-size: 15px; }
}

@media (max-width: 768px) {
    .news-compact-card { height: 68px; }
    .news-compact-img-left, .news-compact-img-right { flex: 0 0 48px; height: 48px; width: 48px; margin: 0 5px; }
    .news-compact-title-wrap { padding: 0 5px; }
    .news-compact-title { font-size: 14px; }
}

@media (max-width: 480px) {
    .news-compact-card { height: 64px; }
    .news-compact-img-left, .news-compact-img-right { flex: 0 0 44px; height: 44px; width: 44px; margin: 0 4px; }
    .news-compact-title-wrap { padding: 0 4px; }
    .news-compact-title { font-size: 13px; }
    
    .right-block-new {
    text-align: center;
}
}









.news-item {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 0; /* Явно убираем отступы */
   
}

.news-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    height: 80px;
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Убираем все отступы */
   
   opacity:0.95;
    cursor: pointer;
    box-sizing: border-box; /* Включаем border в ширину */
}

.news-card[data-random-color="true"] {
    background: #8aca64;
    border: 4px solid #6abc3a;
}

.news-card[data-random-color="true"]:hover {
    background: #9fd87a;
    border-color: #7fcc4a;
}

.img-left,
.img-right {
    flex: 0 0 60px;
    height: 60px;
    width: 60px;
    margin: 0 8px; /* Уменьшены отступы между картинками */
}

.img-left img,
.img-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.title-wrapper {
    flex: 1;
    padding: 0 8px; /* Маленькие симметричные отступы */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0; /* Убираем отступы */
    box-sizing: border-box;
}

.news-title4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  
    padding: 0;
}

/* Случайные цвета */
.news-card.color-1 { background: #8aca64; border-color: #6abc3a; }
.news-card.color-1:hover { background: #9fd87a; border-color: #7fcc4a; }
.news-card.color-2 { background: #e05f5f; border-color: #d83434; }
.news-card.color-2:hover { background: #e67373; border-color: #e14a4a; }
.news-card.color-3 { background: #62869a; border-color: #38667f; }
.news-card.color-3:hover { background: #7490a9; border-color: #4d778f; }
.news-card.color-4 { background: #b399c2; border-color: #9f7db1; }
.news-card.color-4:hover { background: #c1aad0; border-color: #af8dc1; }
.news-card.color-5 { background: #ff7b51; border-color: #ff5722; }
.news-card.color-5:hover { background: #ff8d66; border-color: #ff6833; }
.news-card.color-6 { background: #36aca1; border-color: #009688; }
.news-card.color-6:hover { background: #4bbdb0; border-color: #00a69b; }

/* Clip-path для скругленного бордера */
.news-card {
    clip-path: polygon(
        4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px),
        0 calc(100% - 4px), 0 4px, 4px 4px
    );
}

/* Адаптивность */
@media (max-width: 1199px) {
    .news-card {
        height: 72px;
    }
    
    .img-left,
    .img-right {
        flex: 0 0 52px;
        height: 52px;
        width: 52px;
        margin: 0 6px;
    }
    
    .title-wrapper {
        padding: 0 6px;
    }
    
    .news-title4 {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .news-card {
        height: 68px;
    }
    
    .img-left,
    .img-right {
        flex: 0 0 48px;
        height: 48px;
        width: 48px;
        margin: 0 5px;
    }
    
    .title-wrapper {
        padding: 0 5px;
    }
    
    .news-title4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-card {
        height: 64px;
    }
    
    .img-left,
    .img-right {
        flex: 0 0 44px;
        height: 44px;
        width: 44px;
        margin: 0 4px;
    }
    
    .title-wrapper {
        padding: 0 4px;
    }
    
    .news-title4 {
        font-size: 13px;
    }
}
/* Если есть ID контейнера, используйте его */
#news-block .news-item a,
#news-block .news-item a:link,
#news-block .news-item a:visited,
#news-item .news-card a,
#news-item .news-card a:link,
#news-item .news-card a:visited,
#news-item .news-card a:hover,
#news-item .news-card a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Универсальный фикс для DLE */
body .news-item a[href],
body .news-item a[href]:link,
body .news-item a[href]:visited,
body .news-item a[href]:hover,
body .news-item a[href]:active {
    text-decoration: none !important;
    border-bottom: none !important;
}





.rtabs-container {
  margin: 0 !important;
    padding: 0 !important;
background:#010619;
    overflow: hidden;

}


.h2-white {
    color: #fff;
    display: flex;
    align-items: center;          /* Вертикальное центрирование */
    justify-content: center;      /* Горизонтальное центрирование БЛОКА */
    gap: 10px;
}

.h2-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: block;
}

.white-p {text-align: center;color:#fff;}

.rtabs-header {
    display: flex;
   background:#010619;
     margin-top:1px;
     border-bottom:1px solid #2d4362;

}
.rtabs-button {
    flex: 1;
    padding: 7px 16px;
    border: 1px solid #010619;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
    background: #1b293d;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: -1px;
    position: relative;
    color: #fff;
    display: flex;           /* ★ FLEX ДЛЯ ИКОНКИ + ТЕКСТА ★ */
    align-items: center;     /* ★ ВЫРАВНИВАНИЕ ПО ВЕРТИКАЛИ ★ */
    gap: 8px;               /* ★ ОТСТУП МЕЖДУ ИКОНКОЙ И ТЕКСТОМ ★ */
    text-align: center;      /* ★ ТЕКСТ ПО ЦЕНТРУ ★ */
}

.rtabs-button:last-child {
    margin-right: 0;
}



.rtabs-button:hover {
    background-color: #1b293d;
}

.rtabs-button.rtabs-active {
    border-bottom:2px solid #9f7db1;
   background: #2d4362;   
   
}

.rtabs-body {
    margin: 0 !important;
    padding: 0 !important;
}

.rtabs-panel {
    display: none;
    animation: rtabsFadeIn 0.3s;
}

.rtabs-panel.rtabs-active {
    display: block;
}

@keyframes rtabsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .rtabs-header {
        flex-direction: column;
    }
    
    .rtabs-button {
        flex: none;
        width: 100%;
        text-align: left;
        padding: 16px;
    }
    
    .rtabs-container {
       
    }
}

.padding {padding:10px;}


.overall {color:#fff; font-size:16px; font-weight:600;margin-top:6px;}
.ovnumb {color:#fff; font-size:35px; font-weight:bolder;margin:10px;}

.right-images {
    display: flex;           /* Включает flex-контейнер */
    flex-wrap: nowrap;       /* Запрещает перенос на новую строку */
    width: 100%;             /* Адаптивная ширина на всю доступную */
    gap: 1px;               /* Расстояние между картинками (опционально) */
    margin-top:10px;
   

}

.right-images img {
    flex: 1;                 /* Картинки равномерно заполняют пространство */
    height: auto;            /* Сохраняет пропорции */
    object-fit: cover;       /* Обрезает по пропорциям (или contain для полного показа) */
    max-width: 100%;         /* Не выходит за границы контейнера */

   
}

@media (max-width: 768px) {
    .right-images {
        gap: 5px;            /* Меньший отступ на мобильных */
    }
}
.orange {color:orange;  white-space: nowrap;
    display: inline-block;}

.contents-head {
    display: flex;
    align-items: center;      /* вертикальное центрирование */
    gap: 8px;                 /* расстояние между SVG и текстом */
    margin-bottom: 15px;
    color:rgb(24, 49, 83);
}

.contents-head svg {
    flex-shrink: 0;           /* SVG не сжимается */
    vertical-align: middle;   /* дополнительная страховка */
    color:rgb(24, 49, 83);
}


.contents {
  border:4px solid #d5d9ec;
        clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
padding:15px;
width: 100%;
margin-bottom:25px;
background:#eff2ff;
font-size:16px;
 box-sizing: border-box;
 margin-top:15px;

}

.contents-b {
  border:4px solid #d5d9ec;
        clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
padding:15px;
width: max-content;
margin:5px;
background:#2d4362;
font-size:16px;
 box-sizing: border-box;
 color:#d5d9ec;

}

.contents-head-b {
    display: flex;
    align-items: center;      /* вертикальное центрирование */
    gap: 8px;                 /* расстояние между SVG и текстом */
    margin-bottom: 15px;
    color:#d5d9ec;
}

.contents-head-b svg {
    flex-shrink: 0;           /* SVG не сжимается */
    vertical-align: middle;   /* дополнительная страховка */
    color:#d5d9ec;
}

.contents-link {line-height:26px;
 display: block;
    margin-bottom: 5px; color:#fff;
    display: inline;
    }
    
   .contents-head {
     font-weight:600;
      border-bottom:4px solid #d5d9ec;
      margin-bottom:10px;
      
    padding-bottom:10px;
     
     } 


.outer-frame {
            background: #2d4362;
            padding: 15px;
            width: calc(100% + 50px);
            margin-left: -25px;
            margin-right: -25px;
            box-sizing: border-box;
        }

        .layout-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
        }

        .cell-unit {
            background: #1b293d;
            color:#fff;
            padding: 20px;
            
            box-sizing: border-box;
          
           
            min-height: 100px;
        }
        
        
.cell-unit h2 {
    margin: 0px;
    font-size: 18px;
    position: relative; /* Для позиционирования эмодзи */
}

.cell-unit h2::before {
    content: "⚔️";      /* Эмодзи добавляется здесь */
    margin-right: 8px;   /* Отступ от текста */
    font-size: 20px;     /* Размер эмодзи (можно настроить) */
}
        
        


.cell-unit-p {
            background: #1b293d;
            color:#fff;
            padding: 10px;
            flex: 0 0 calc(100%); /* 2 блока в ряд с gap */
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
      
            min-height: 100px;
        }


        /* Мобильная адаптивность */
        @media (max-width: 768px) {
            .cell-unit {
                flex: 0 0 100%; /* 1 блок в ряд на мобильных */
            }
        }

        @media (max-width: 480px) {
            .outer-frame {
                padding: 15px;
            }
        }




 .white {color:white; font-size:18px; font-weight:600;}
 
  .main-panel {
            background: #2d4362;
            padding: 0px;
            width: calc(100% + 50px);
            margin-left: -25px;
            margin-right: -25px;
            box-sizing: border-box;
            padding-bottom:15px;
           
        }
        
      .main-panel-3 {
            background: #2d4362;
            padding-top: 15px;
            width: calc(100% + 50px);
            margin-left: -25px;
            margin-right: -25px;
            box-sizing: border-box;
            padding-bottom:15px;
            
        }    
        
        
        

        .switch-panel {
            display: flex;
            gap: 1px;
       padding:10px;
            justify-content: left;
        }

        .switch-item {
          margin-left:10px;
            padding: 12px 24px;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease;
            border-radius: 0px;
        }

        .switch-item.on {
            background: #62869a;
            color: white;
        }

        .switch-item.off {
            background: #38667f;
            color: #ccc;
        }

  .panel-area {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0; /* Убираем любые внешние отступы */
    box-sizing: border-box;
    width:100%;
}

.panel-area.on {
    display: flex; margin: 0; /* Убираем любые внешние отступы */     justify-content: center; /* ← РАСТЯГИВАЕТ на всю ширину */
}


  .panel-area-2 {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0; /* Убираем любые внешние отступы */
    box-sizing: border-box;
    width:100%;
}

.panel-area-2.on {
    display: flex; margin: 0; /* Убираем любые внешние отступы */     justify-content: center; /* ← РАСТЯГИВАЕТ на всю ширину */
}

 .content-box {
background: #1b293d;
padding: 10px;
flex: 0 1 calc(33.333% - 6.67px); /* 3 в ряд с учетом gap */
color:#fff;
display: flex;
flex-direction: column;


gap: 0px;
box-sizing: border-box;
font-size:16px;
} 


.content-box a {text-decoration:underline;}



        .icon-img {
            width: 90px;
            height: 90px;
            object-fit: cover;
            border-radius: 4px;
           margin-top:10px;
        }

        .main-img {
            max-width:340px;
            max-height: 340px;
            width: 100%;
           
            object-fit: cover;
            border-radius: 4px;
        }

        .info-section {
          
        flex: 2;     
        }

        .info-section h3 {
            margin: 0 0 10px 0;
            color: white;
            font-size: 18px;
        }

        .info-section p {
            color: #ccc;
            line-height: 1.5;
            margin: 0;
        }

        @media (max-width: 768px) {
            .switch-panel {
                flex-direction: column;
                align-items: center;
            }

            .panel-area {
                flex-direction: column;
            }
            
              .main-panel {
            
            padding: 10px;
       
        }
      
    .main-panel-3 {
        padding: 10px;
    }


          
        }

        @media (max-width: 480px) {
            .switch-item {
                width: 100%;
                text-align: center;
            }
            
                .main-panel {
            
            padding: 10px;
       
        }
        }
        
        
   /* Для точного контроля ширины - 3 блока в ряд */
@media (min-width: 769px) {
    .content-box {
        flex: 0 1 32%; /* 3 блока + gap */
        max-width: none;
    }
}

@media (max-width: 768px) {
    .content-box {
        flex: none;
        width: 100%;
    }
}     
        
 
 
  .h2-calc {color:#fff; text-align:left; font-size:20px;margin-bottom:-5px;}
  
  
  .balloon-tooltip {
          
           position:absolute;
           right:40px;
           top:55px;
            background: #6abc3a;
            border-color: rgb(255, 252, 65);
            color: white;
            padding: 20px 30px;
            border-radius: 2px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            z-index: 10000;
            max-width: 300px;
         
            font-size: 16px;
            font-weight: 500;
            transform: scale(0.8) translateY(-20px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(10px);
        }
        
        
      .balloon-tooltip:hover {
  filter: brightness(1.2);
}  
        

        .balloon-tooltip.show {
            transform: scale(1) translateY(0);
            opacity: 1;
        }

      
        .balloon-close {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 16px;
            height: 18px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .balloon-close:hover {
            background: rgba(255,255,255,0.5);
            transform: rotate(90deg);
        }
        
        
        @media (max-width: 1199px) {
          
         .balloon-tooltip {
           display:none;
        }

        .balloon-tooltip.show {
         display:none;
        }

        .balloon-tooltip::after {
 display:none;
        }

        .balloon-close {
        display:none;
        }
 
          }


.current-values { color:#fff;font-size:12px;margin-left:76px;margin-top:-20px;margin-bottom:10px;}


.calc-container {
  display: flex;
  max-width: 900px;
  margin:  0 auto;
  align-items: center;
  gap: 0px; /* расстояние между сообщением и кнопкой */
  
}

.calc-container2 {
  display: flex;
  max-width: 100%;
  margin:  0 auto;
  align-items: center;
  gap: 0px; /* расстояние между сообщением и кнопкой */
  margin-bottom:25px;
}

.calc-message2 {
  display: flex;
  max-width: 90%;
  margin: 5px auto 0 auto; 
  align-items: center;
        clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);

  border: 1px solid #8283c4; /* можно заменить цвет на нужный */
  padding: 8px;
  box-sizing: border-box;
  color: #8283c4;
    border: 1px solid #8283c4;
  
}






.calc-container-100 {
  display: flex;
  width:100%;
  margin:  0 auto;
  align-items: center;
  gap: 0px; /* расстояние между сообщением и кнопкой */
  
}

.calc-message-100 {
  font-size:15px;
  display: flex;
  width: 98.5%;
  margin: 10px  auto 0 auto; 
  
  align-items: center;
        clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);
color:#8283c4;
  border: 1px solid #8283c4; /* можно заменить цвет на нужный */
  padding: 8px;
  box-sizing: border-box;
}


.calc-container-1000 {
  display: flex;
  width:100%;
  margin:  0 auto;
  align-items: center;
  gap: 0px; /* расстояние между сообщением и кнопкой */
  
}

.calc-message-1000 {
  font-size:15px;
  display: flex;
  width: 100%;
  margin: 10px  auto 0 auto; 
  
  align-items: center;
        clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);
color:#fff;
  border: 1px solid #fff; /* можно заменить цвет на нужный */
  padding: 8px;
  padding-bottom:26px;
  box-sizing: border-box;
}




.calc-container-200 {
  
  width:100%;
  margin:  0 auto;
  align-items: center;
  gap: 0px; /* расстояние между сообщением и кнопкой */
  background:#1b293d;
   width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
  padding:10px;
  
}

.calc-message-200 {
  font-size:15px;
  display: flex;
  width: 100%;
color: #8283c4;
    border: 2px solid #8283c4;
  align-items: center;
        clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);

  padding: 8px;
  box-sizing: border-box;
}



.refresh-btn {
  background-color: #4eb543; /* светло-зеленый */
  color: #fff;
  border: none;
  margin-top:10px;
  padding: 16px;

  cursor: pointer;

  
  flex-shrink: 0; /* кнопка не сжимается */
  clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px); /* тот же clip-path как у сообщения */
}


.img-message {max-width:50px;margin-right:10px;}

.refresh-btn:hover {
  background-color: #98FB98; /* более светлый зеленый на hover */
}


.calc-message {
  display: flex;
  max-width: 900px;
  margin: 5px auto 0 auto; 
  align-items: center;
        clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);

  border: 1px solid #8283c4; /* можно заменить цвет на нужный */
  padding: 8px;
  box-sizing: border-box;
}

.calc-message .img-message {
  max-width: 42px;
  height: auto;
  margin-right: 10px;
  flex-shrink: 0; /* чтобы картинка не сжималась */
}

.calc-message {
  font-size: 15px;
  color: #8283c4;
}



#scrollTopBtn {
  padding: 20px 10px;
  background-color: #007BFF;
  
  opacity:0.3;
  color: white;
  border: none;
  
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}




.calc-itog {margin-top:5px;}

.cont {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: nowrap;
  max-width: 900px;
margin:0 auto;
  padding: 5px;
  box-sizing: border-box;
}

.blok, .blokc {
  flex: 0 0 50%;
  width:100%;
  background: #2a2c48;
 
  padding: 5px;
 
  box-sizing: border-box;
  color: #eee;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
      clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

  max-height: 120vh;
}

.big-font   {  flex: 0 0 calc(50% - 5px);
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background-color: #45466a;
    border: 1px solid #31324c;
    padding: 10px;
    padding-bottom:40px;

    color: white;
          clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);
font-size:200px;
    
    
    }


.fullh4 {
  font-weight: 700;
  font-size: 1.5rem;
margin-top:5px;
margin-bottom:12px;
  user-select: none;
}

.search_input_calculator {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 20px;
  border: none;
border-radius:4px;
  box-sizing: border-box;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.search_input_calculator:focus {
  box-shadow: 0 0 8px #6ca0dc;
}

.sub_block {
 display: flex;
  flex-wrap: wrap;
  width:100%;
  gap: 10px;
  margin-bottom: 25px;
max-height: 500px;


  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}


.calculator.fruit {
  flex: 0 0 calc(49% - 5px);
  width:100%;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background-color: #45466a;
  border: 1px solid #31324c;
  padding: 10px;
  font-size: .7rem;
  color: white;
        clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

}





.sub-block:last-child {
gap:0px;
}



.calculator.padding-large {
      flex: 0 0 calc(50% - 5px);
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  
    padding: 0px;
    color: white;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

  text-align: center;
 
  user-select: none;
  font-size: 200px;
  cursor: pointer;
}

.value2 {
    font-size: 1rem;
  background-color: #3b3e65;
  border-top: 1px solid #31324c;
  border-bottom: 1px solid #31324c;
  color: #fff;
  padding: 5px;
   text-align: center;
}

.permvalue2 {
 
  font-size: 1rem;
  text-align: center;
  color: #fff;
  padding: 5px;
}

.summary-table {
  display: flex;
  flex-direction: column;
  background-color: #45466a;
  border: 1px solid #31324c;
  font-size: .85rem;
  width: 100%;
  margin: 20px auto 0;
  color: #eee;
        clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  
  font-weight: 400;
    font-size: 1rem;
  border-top: 1px solid #31324c;
}

.summary-row:first-child {
  border-top: none;
  
}

.let2 {
  width:100%;
  height: auto;
 
 align-items:center ;
}


.trade-win, .trade-lose, .trade-fair {
  max-width:850px;
  margin:0 auto;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  user-select: none;
  padding: 12px 20px;
          clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 6px 6px);

  backdrop-filter: blur(12px);
  background: #2a2c48;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

/* Градиентная обводка */
.trade-win:before,
.trade-lose:before,
.trade-fair:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--border);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

/* Цвета */
.trade-win { 
  color: #7aff7a; 
  --border: linear-gradient(135deg, #00ff88, #00994d);
}
.trade-fair { 
  color: #ffce76; 
  --border: linear-gradient(135deg, #ffb74d, #ff9800);
}
.trade-lose { 
  color: #ff7a7a; 
  --border: linear-gradient(135deg, #ff5555, #c80000);
}



@media (max-width:768px) {
  
  .calculator.fruit {
  flex: 0 0 calc(100% - 1px);

}

.blok, .blokc {
width:50%;
  
}


.value2 {
    font-size: .8rem;

}

.permvalue2 {
 
  font-size: .8rem;

}

 .summary-row {
  
    font-size: .85rem;

} 
  
  }
















.h2-tier {font-size:50px;}

.gr-head {
  
  display: flex;
    align-items: center;
  flex-direction: row;
     
        flex-wrap: wrap;
 margin-left:20px;
 margin-top:10px;
  margin-bottom:10px;
     }
     
     
     .ss-tier { border-top: 8px solid #f28482;
   
    background: rgb(234, 63, 63);
   padding: 10px;

    margin-bottom: 1px; 
}
     

.s-tier {
    border-top: 8px solid #f28482;
   
    background: #ef5350;
   padding: 10px;

    margin-bottom: 1px; 

}

.a-tier {
    border-top: 8px solid #f78e8d;
  
    background: #ec6563;
    padding: 10px;
    margin-bottom: 1px; 
}

.b-tier {
    border-top: 8px solid #ffc599;
    
    background: #ffa967;
    padding: 10px;
    margin-bottom: 1px; 

}

.c-tier {
    border-top: 8px solid #ffe6c7;
    border-radius: 1px;
    background: #fed4a0;
    padding: 10px;
    margin-bottom: 1px;  

}

.d-tier {
    border-top: 8px solid #dbffb8;
   
    background: #bfff7f;
    padding: 10px;

}



.sq-tier {
    border: 1px solid #f28482;
   color:#000;
   float:right;
    background: #ef5350;
   padding:2px;
font-weight:500;
font-size:18px;
    margin-bottom: 1px; 
    opacity:0.95;
   

}

.aq-tier {
    border: 1px solid #f78e8d;
      color:#000;
    float:right;
    background: #ec6563;
    padding: 2px;
    margin-bottom: 1px; 
    font-weight:500;
font-size:18px;
  opacity:0.95;
}

.bq-tier {
    border: 1px solid #ffc599;    
    background: #ffa967;
     padding: 2px;
    margin-bottom: 1px; 
     font-weight:500;
font-size:18px;
  opacity:0.95;
    float:right;
color:#000;
}

.cq-tier {
    border: 1px solid #ffe6c7;
 
    background: #fed4a0;
    padding: 2px;
    margin-bottom: 1px;  
     font-weight:500;
font-size:18px;
  opacity:0.95;
    float:right;
color:#000;
}

.dq-tier {
    border: 1px solid #dbffb8;
   color:#000;
    background: #bfff7f;
    padding: 2px;
     font-weight:500;
font-size:18px;
  opacity:0.95;
    float:right;

}













.scale-comment .sq-tier,
.scale-comment .aq-tier,
.scale-comment .bq-tier,
.scale-comment .cq-tier,
.scale-comment .dq-tier {
    width: 70px;
    height: 39px;
    position: absolute;
    top: 1px;
    right: 1px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    color: #000;
    line-height: 1;
    z-index: 2;
}

/* Текст обходит квадрат */
.scale-comment p,
.scale-comment {
    padding-right: 70px; /* Отступ справа под размер квадрата + запас */
    margin: 0;
}









.sq2-tier {
    border: 1px solid #f28482;
   color:#000;
   float:right;
     background: #ef5350;
font-weight:500;
font-size:18px;
    margin-bottom: 1px; 
    opacity:0.5;
   position:absolute;

}

.aq2-tier {
    border: 1px solid #f78e8d;
      color:#000;
    float:right;
    background: #ec6563;

    margin-bottom: 1px; 
    font-weight:500;
font-size:18px;
  opacity:0.5;
   position:absolute;
}

.bq2-tier {
    border: 1px solid #ffc599;    
    background: #ffa967;
  
    margin-bottom: 1px; 
     font-weight:500;
font-size:18px;
  opacity:0.5;
    float:right;
color:#000;
 position:absolute;
}

.cq2-tier {
    border: 1px solid #ffe6c7;
 
    background: #fed4a0;
   
    margin-bottom: 1px;  
     font-weight:500;
font-size:18px;
  opacity:0.5;
    float:right;
color:#000;
 position:absolute;
}

.dq2-tier {
    border: 1px solid #dbffb8;
   color:#000;
    background: #bfff7f;

     font-weight:500;
font-size:18px;
  opacity:0.5;
    float:right;
 position:absolute;
}

















.ss-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}


.s-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}

.a-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}

.b-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}

.c-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}

.d-tier {
  display: flex; /* Располагаем содержимое в строку */
  align-items: flex-start; /* Выравниваем по верхнему краю */
}



.h2-tier {
  margin: 0 10px 0 0; /* Отступ справа от буквы S */
  white-space: nowrap; /* Чтобы буква S не переносилась */
  font-size:1.8em;
  
}

.cards {
  display: flex;
  flex-wrap: wrap; /* Карточки переносятся на новую строку, оставаясь справа */
  gap: 5px; /* Отступ между карточками */
  flex-grow: 1; /* Заставляет карточки занимать оставшееся место справа */
}
.cards {
   
    overflow-x: auto;
    padding-bottom: 5px;
  }

 

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  }


 .card {
    background: white;
    border-radius: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 140px;
    height: auto;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
      clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

    border: 2px solid transparent; /* по умолчанию прозрачно */
  }
  .card img {
    width: 100%;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    height: 130px;
    object-fit: contain;
    background: white; /* по умолчанию */
    transition: background 0.3s ease;
  }
  
  
   .card2 {
    background: white;
    border-radius: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width:190px;
    height: auto;
    flex-shrink: 0;
    text-align: center;
    margin:0 auto;
    transition: transform 0.3s ease;
    cursor: pointer;
      clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

    border: 2px solid transparent; /* по умолчанию прозрачно */
  }
  .card2 img {
   width:100%;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;

    object-fit: contain;
    background: white; /* по умолчанию */
    transition: background 0.3s ease;
  }

  
  
  .card2:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  }



  .card-name {
    padding: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
  color:rgb(24, 49, 83);
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    margin-top:-4px;
    
  }
  
  
  .card-name2 {
 margin-top:10px;
    font-weight: 600;
    font-size: .9rem;
  color:rgb(24, 49, 83);
   
   
    
  }
  
  
  
   .card-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  }


 .card-tier {
    background: white;
    border-radius: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 105px;
    height: auto;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
      clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

    border: 2px solid transparent; /* по умолчанию прозрачно */
  }
  .card-tier img {
    width: 100%;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    height: 100px;
    object-fit: contain;
    background: white; /* по умолчанию */
    transition: background 0.3s ease;
  }



  .card-name-tier {
    padding: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
  color:rgb(24, 49, 83);
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    margin-top:-4px;
    
  }
  
  
  
  

  /* Адаптивность */
  @media (max-width: 768px) {
    
     .card-tier {
   
    width: 85px;
   
  }
    
    
    
    
    .tier-label {
      font-size: 1.5rem;
      width: 40px;
    }
    .card {
      width:100px;
    }
    .card img {
      height: 100px;
    }
    .card-name {
      font-size: 0.9rem;
      padding: 0.4rem;
    }
  }

  @media (max-width: 400px) {
    
       .card-tier {
   
    width: 65px;
   
  }
    
    
    .tier-label {
      font-size: 1.2rem;
      width: 30px;
    }
    .card {
      width: 122px;
    }
    .card img {
      height: 120px;
    }
    .card-name {
          padding: 0.3rem;
    
    font-size: .7rem;
    }
  }


.value-num {font-size:7.5px; font-weight:600;}

.block-value {
  display: flex;
  flex-wrap: nowrap; /* Вся строка без переноса */
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: hidden; /* чтобы не выходило за границы */
}

.img-link-cell2 {
  flex: 0 0 auto; /* фиксированная ширина */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
 width:45px;

  
}

.img-link-cell2 img {
 
  max-width: 100%;
  height: auto;
  display: block;
}

.img-link-cell2 .value {
  font-size: 14px;
  text-align: center;
}

.img-link-cell2 .question-mark {
  font-size: 32px;
  margin-top: 6px;
  align-self: center;
}

.equals-sign {
  font-size: 39px;
  font-weight: bold;
  flex-shrink: 0;
  user-select: none;
  margin: 0 10px;
}

.custom-block {
  flex: 1 1 auto; /* занимает оставшееся пространство */
  display: flex;
  flex-wrap: wrap; /* перенос картинок внутри блока */
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: flex-start; /* картинки слева внутри блока */
  overflow: visible;
}

.bf-scale-container-full-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Десктоп и планшеты */
.scale-comment-value {
  flex: 0 1 49%;
  box-sizing: border-box;
  
}

/* Мобильные устройства (например, до 768px) */
@media (max-width: 768px) {
  .scale-comment-value {
    flex: 0 1 100%;
    width: 100%;
  }
}


.custom-block img {
  max-width: 60px;
  width: 100%;
  height: auto;
  display: block;
}

.custom-block .value {
  font-size: 14px;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

/* Мобильная версия */
@media (max-width: 600px) {
  .block-value {
    padding: 0 5px;
  }

  .img-link-cell2 {
    min-width: 60px;
    max-width: 80px;
  }

  .equals-sign {
    font-size: 28px;
    margin: 0 6px;
  }

  .custom-block img {
    max-width: 40px;
  }
}






.grey-block {background:#000;
width: calc(100% +50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
padding:10px ;
background: #eff2ff;
}



.top-guide {
  display: flex;
  align-items: center; /* вертикальное выравнивание по центру */
}

.top-guide-2 {
  display: flex;
  align-items: center; /* вертикальное выравнивание по центру */
}

.top-guide-2 {
 background:#1b293d; 
 padding:10px;
   width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
  }

.top-guide-3 {
  display: flex;
  align-items: center; /* вертикальное выравнивание по центру */
}

.top-guide-3 {
 background:#1b293d; 
 padding:10px;   
  box-sizing: border-box;
  margin-bottom:10px;
  }


.top-guide-p {
display:flex;
}

.top-guide-p {
    background: #1b293d;
    padding: 10px;
    width: calc(100% + 50px);
    margin-left: -25px;
    margin-right: -25px;
    box-sizing: border-box;
}

.h2-white-guide {
  display: flex;
  align-items: center; /* для корректного вертикального выравнивания картинки и текста */
  margin: 0; /* устранить стандартные отступы заголовка */
}


.h2-white-guide-ch {
  display: flex;
  align-items: center; /* для корректного вертикального выравнивания картинки и текста */
  margin: 0; /* устранить стандартные отступы заголовка */
  text-transform:uppercase;
  font-weight:600;font-size:15px;
}

.h2-white-guide-ch svg {
margin-right:10px;
}


.h2-guide {
  display: flex;
  align-items: center; /* для корректного вертикального выравнивания картинки и текста */
  margin: 0; /* устранить стандартные отступы заголовка */
}


.guide-icon {
  margin-right: 10px; /* расстояние между картинкой и текстом */
  display: block; /* чтобы убрать возможные проблемы с линией базы */
  height: 50px; /* пример высоты картинки, можно изменить */
  width: 50px; /* сохраняет пропорции */
}

.guide-icon-chart {
  margin-right: 10px; /* расстояние между картинкой и текстом */
  display: block; /* чтобы убрать возможные проблемы с линией базы */
  height: 50px; /* пример высоты картинки, можно изменить */
  width: 50px; /* сохраняет пропорции */
  position:relative;
  margin-bottom:10px;
  
}



.top-guide {
 background:#1b293d; 
 padding:10px;
   width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
  }

.h2-white-guide {
 
  color:#fff;
  font-size:1.2em;
  margin-top:0px;
  margin-bottom:0px;
  }
.h2-guide {
 
  
  font-size:1.2em;
  margin-top:0px;
  margin-bottom:0px;
  }  
  
  .bf-scale-label-full {
  display: inline-flex;        /* делаем контейнер флекс */
  align-items: center;         /* вертикальное центрирование */
  gap: 6px;                    /* отступ между иконкой и текстом */
  user-select: none;           /* запрет выделения по желанию */
}
.bf-scale-label-full svg {
  display: block;              /* убираем нижние отступы у svg */
  vertical-align: middle;      /* дополнительное выравнивание */
  height: 16px;                /* фиксируем высоту */
  width: 16px;                 /* фиксируем ширину, как в SVG атрибутах */
}


.scale-comment {
 background:#1b293d; 
color:#fff;
  border-radius:1px;
  padding:10px;
  margin-bottom:10px;
  font-size:16px;
  position: relative; /* Для позиционирования */
  }





  
  
  .scale-comment-value {
 background:#1b293d; 
  color:#fff;
  border-radius:1px;
  padding:10px;
  margin-bottom:20px;
   
  }


.bf-scale-container {
     display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  }
  

 .bf-scale-container-full-2 {
    width: 100%;
    margin: 0 auto;
    padding:20px;
    padding-bottom:0px;
    width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
background:#2d4362;
    
  }



.card-name a {text-decoration:none;}

  .bf-scale-container-full {
   
      width: 100%;
    margin: 0 auto;
    padding:10px;

    width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;
color:#fff;
    background:#2d4362;
  }
  


    .bf-scale-container-tier {
    width: 100%;
    margin: 0 auto;
    padding:10px;
    margin-top:-30px;

    width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;

    background:#2d4362;
  }
  
   .bf-scale-container-tier-w {
    
    margin: 0 auto;
   

    width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
  box-sizing: border-box;

    background:#2d4362;
  }


.bf-scale-wrapper {
    display: flex;
    width: 100%;
     width: calc(100% + 50px);
  margin-left: -25px;
  margin-right: -25px;
    align-items: stretch;
}

.bf-scale-container-full-vs {
width: 100%;
padding: 10px;
flex: 1; /* Каждая половинка = 50% ширины */
    box-sizing: border-box; /* ДОБАВИТЬ */
color: #fff;
background: #2d4362;

}

.bf-scale-container-full-vs:first-child {padding-right:0px;}

.bf-scale-container-full-graphs {
width: 100%;
padding: 10px;
flex: 1; /* Каждая половинка = 50% ширины */
    box-sizing: border-box; /* ДОБАВИТЬ */
color: #fff;
background: #2d4362;

}

.bf-scale-container-full-graphs2 {
width: 100%;
padding: 5px;

flex: 1; /* Каждая половинка = 50% ширины */
    box-sizing: border-box; /* ДОБАВИТЬ */
color: #fff;
background: #2d4362;

}




/* Мобильная - рядом, но полная ширина */
@media (max-width: 480px) {
    .bf-scale-wrapper {
        width: 100vw;           /* Полная ширина экрана */
        margin-left: calc(-50vw + 50%);  /* Центрирует */
        margin-right: calc(-50vw + 50%);
    }
    
    /* НЕ ставим flex-direction: column - остаются рядом */
}




.bf-scale-row {
display: flex;
align-items: center;
margin-bottom: 11px;
width: 100%;
min-height: 24px;
flex-wrap: nowrap; /* НЕ переносим */

}

.bf-scale-row:last-child {

margin-bottom: 0px;


}


.bf-scale-label-full {
flex: 0 0 auto;
min-width: 50px;
color:#fff;
font-weight: bold;
margin-right: 6px; /* меньше отступ */
white-space: nowrap;
font-size:0.85em; /* меньше шрифт */
}

.bf-scale-bar {
flex: 1;
display: flex;
gap: 1px; /* меньше зазор */

}


.bf-scale-label {
flex: 0 0 auto;
min-width: 50px;

font-weight: bold;
margin-right:0px;
white-space: nowrap;
font-size: 1em;
}

 .bf-scale-bar {
    display: flex;
    flex-grow: 1;
    gap: 2px;
    min-width: 40px; /* чтобы полоска всегда была видна */
  }

  .bf-segment {
    flex: 1;
    height: 1.2em;
    background-color: #1b293d;
    border-radius:2px;
    transition: background-color 0.3s ease;
    opacity:0.85;
  }

.bf-pvp .bf-segment.active { background-color: #f44336; }
.bf-pve .bf-segment.active { background-color: yellow; }
.bf-grinding .bf-segment.active { background-color: #4caf50; }
.bf-aoe .bf-segment.active { background-color: #00bcd4; }
.bf-dmg .bf-segment.active { background-color: #ff9800; }
.bf-def .bf-segment.active { background-color: pink; }
.bf-knockback .bf-segment.active { background-color: #795548; }
.bf-cooldown .bf-segment.active { background-color: #607d8b; }
.bf-range .bf-segment.active { background-color: #3f51b5; }
.bf-mobility .bf-segment.active { background-color: #B7F527; }
.bf-combos .bf-segment.active { background-color: #F56527; }
.bf-atk .bf-segment.active { background-color: #d32f2f; }
.bf-seas .bf-segment.active { background-color: #2196f3; }


.bf-pvp2 .bf-segment.active { background-color: #f44336; }
.bf-pvx .bf-segment.active { background-color: #ffa967; }
.bf-dmg2 .bf-segment.active { background-color: pink; }
.bf-def2 .bf-segment.active { background-color: #27F565; }
.bf-mob2 .bf-segment.active { background-color: #B7F527; }
.bf-cooldown2 .bf-segment.active { background-color: #607d8b; }
.bf-aoe2 .bf-segment.active { background-color: #27B7F5; }
.bf-range2 .bf-segment.active { background-color: #7FFFD4; }
.bf-melee .bf-segment.active { background-color: #FF69B4; }
.bf-combos2 .bf-segment.active { background-color: #F56527; }
.bf-burst .bf-segment.active { background-color: #B5B5FF; }
.bf-stun .bf-segment.active { background-color: yellow; }
.bf-knockback2 .bf-segment.active { background-color: #9C52DE; }

@media (max-width: 480px) {
.bf-scale-label {
font-size: 1em;
min-width: 40px;
}
.bf-segment {
height: 1.2em;
}
}

  
  
  
  
  
  
  
  .parent-selector {
  display: flex;
  justify-content: center;
flex-direction:column;
}
 

 .search-wrap{width:100%;background:#010619;padding:5px;border-bottom: 1px solid #1b293d;}
 .search-box{width:100%;position:relative;}
 .search-box input,.search-box input:focus{background:#010619;width:100%;height:45px;padding:0 40px 0 15px;color:#fff;border:none;}


.main-title-block {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
 margin-top: -10px;
  padding: 10px;
  text-align: center;
}

.h1-white-big {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
}

.h2-white-big {
  color: #8283c4;
  font-size: 20px;
  font-weight: 200;
  line-height: 28px;
}


.btn-row {
  display: flex;
  flex-wrap: wrap;
  /* позволяет переносить кнопки на следующую строку */
  width: 100%;
}

.btn-row svg {padding-right:10px;}

.btn-row-tab {
  display: flex;
  flex-wrap: wrap;
  /* позволяет переносить кнопки на следующую строку */
  width: 100%;
}

.btn-row-tab svg {padding-right:10px;}

.btn-link {

  flex: 1 1 150px;
  /* кнопка растягивается равномерно, но минимум 150px шириной */
  display: flex;
  align-items: center;
  height: 47px;
  padding: 0 10px;
  text-decoration: none;
  color: #fff;
  background-color: #1b293d;
  border-top: 1px solid #010619;
  border-right: 1px solid #010619;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  box-sizing: border-box;
  justify-content: center;
}

/* Убираем border-right у последнего элемента в каждом ряду */
.btn-link:nth-child(odd) {
  border-right: 1px solid #010619;
}

.btn-link:last-child {
  border-right: none;
}

/* Разделитель между кнопками по вертикали - можно добавить если нужно */
.btn-link+.btn-link {
  border-top: 1px solid #010619;
}

.btn-link:hover {
  background-color: #2d4362;
}

.btn-link img {
  height: 30px;
  width: 30px;
  margin-right: 8px;
  object-fit: contain;
}

/* Медиа-запрос для мелких экранов */
@media (max-width: 480px) {
  .btn-link {
    flex: 1 1 50%;
    /* по две кнопки в ряд */
  }
}




#openModalBtn img {
  border: 4px solid #38667f;

  cursor: pointer;
}

#openModalBtn img:hover {
  border-color: #6abc3a;
}


#myModal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

#myModal .modal-content {
  background-color: #2d4362;
  padding: 20px;
  border-radius: 6px;
  max-width: 900px;
  min-height: 100vh;

}

#myModal {
  display: none;
}

.well {
  border-left: 4px solid #b399c2;
  padding-left: 10px;
  margin-top: 20px;
}

.table-responsive-profile {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 15px;
  text-align: left;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px !important;
  color: #fff;
}

.profile-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  border-bottom: 1px solid #1b293d;
  text-align: left;
}

.profile-table tr:last-child td {
  border-bottom: none;
}

/* Левая колонка с жирным шрифтом и более темным цветом */
.profile-table td:first-child {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-align: left;
}

/* Правая колонка */
.profile-table td:last-child b {
  color: #fff;
}

/* Стилизованные курсив и отсутствие данных */
.profile-table i {
  color: #fff;
}

/* Адаптивные стили */
@media (max-width: 576px) {
  .profile-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .profile-table td:first-child {
    font-size: 1rem;
  }
}



/* Общие отступы и стили для рядов */

.row.my {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
}



.button-block {
  max-width: 300px;
  margin: 0 auto;
}

.col-md-3 {
  flex: 1 1 0;
  /* или flex: 1; */
  max-width: none;
  padding: 10px;
  box-sizing: border-box;
}

.col-md-9 {
  flex: 3 1 0;
  /* пропорция ширин 1 к 3 */
  max-width: none;
  padding: 10px;
  box-sizing: border-box;
}









/* Оформление панелей */
.panel {
  background: #1b293d;
  border: 1px solid #2d4362;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.row.my>* {
  flex: 1 1 50%;
  /* Каждый блок занимает примерно 50% */
  box-sizing: border-box;
  /* чтобы паддинги и бордюры не влияли на ширину */
}

.row.my {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: nowrap;
  /* чтобы не переносились */
  width: 100%;
  /* на всю ширину контейнера */
}

.row.my>* {
  flex: 0 0 50%;
  /* фиксированная ширина 50% */
  box-sizing: border-box;
}




/* Заголовки панелей: */
.panel-heading {
  font-weight: 600;
  font-size: 1.25rem;
  background-color: #f5f5f5;
  color: rgb(24, 49, 83);
  border-bottom: 1px solid #2d4362;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Тело панелей */
.panel-body {
  padding: 15px;
  color: #fff;

}

/* Кнопки с шириной 100% и отступами */
button.mb-2 {
  margin-bottom: 10px;

  padding: 8px 10px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button.mb-2:hover {
  background: #b399c2;
}

/* Специфичные кнопки */
button.btn-warning {
  background-color: #f0ad4e;
  color: #fff;
}

button.btn-warning:hover {
  background-color: #ec971f;
}

button.btn-info {
  background-color: #5bc0de;
  color: white;
}

button.btn-info:hover {
  background-color: #31b0d5;
}

/* Изображение в круге, центрирование */
.img-circle {
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

/* Таблица с данными: без рамок, аккуратный стиль */
table.table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

table.table td {
  padding: 8px 10px;
  border-bottom: 1px solid #1b293d;
}

table.table tr:last-child td {
  border-bottom: none;
}

/* Метки online/offline */
.label {
  padding: 3px 8px;
  font-size: 0.85rem;
  border-radius: 12px;
  color: #fff;
}

.label-success {
  background-color: #5cb85c;
}

.label-danger {
  background-color: #d9534f;
}

/* Модальное окно - базовые стили по Bootstrap */
.modal.fade {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity 0.3s linear;
}

.modal.fade.in {
  display: block;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 30px auto;
  max-width: 900px;
}

.modal-content {
  background-color: #2d4362;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  border: none;
  color: #fff;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid #1b293d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header .close {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.modal-body {
  padding: 20px;
  background-color: #2d4362;
  color: #fff;
}

/* Панели внутри модального окна с темой */
.modal .panel {
  background-color: #2d4362;
  border: 1px solid #2d4362;
}

.modal .panel-heading {
  background-color: #1b293d;
  font-weight: 500;
  font-size: 1.15rem;
  color: #fff;

}

/* Инпуты и textarea */
input.form-control,
textarea.form-control {
  background-color: #fff;
  border: 1px solid #38667f;
  color: #08142d;
  border-radius: 4px;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
}

input.form-control:focus,
textarea.form-control:focus {
  border-color: #68a0d4;
  outline: none;
  box-shadow: 0 0 8px rgba(104, 160, 212, 0.6);
}

/* Кнопка отправки */
.btn-primary {
  background-color: #337ab7;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #286090;
}

/* Утилитные классы */
.mb-2 {
  margin-bottom: 10px !important;
}

/* Скрытые элементы */
.pm-init {
  display: none;
}

/* Стили для input-group addon */
.input-group-addon {
  background-color: #1b293d;
  color: #fff;
  border: 1px solid #2d4362;
  padding: 6px 12px;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  margin-top: -3px;
}

/* input-group для правильного группирования */
.input-group {
  display: flex;
}

/* Для чекбокса и его лейбла */
input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

/* Панель футера в загрузке аватара */
.panel-footer {
  font-size: 0.85rem;
  color: #fff;
  padding: 8px 15px;
  background-color: #1b293d;
  border-top: 1px solid #444;
  border-radius: 0 0 6px 6px;
}

/* Добавить плавное появление модального окна через jQuery/Bootstrap modal */


@media (max-width: 767px) {

  .col-md-3,
  .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 5px;
  }

  .panel-body img.img-circle {
    width: 120px;
    height: 120px;
  }

  button.mb-2 {
    font-size: 1.1rem;
  }
}










.block.story {
  max-width: 900px;

  padding: 20px;
  background: transparent;
  border-radius: 8px;

  color: #fff;
}

.block.story .title.h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  margin-top: -10px;
  font-weight: bold;
  color: #fff;
}

.block.story .text.regtext {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #fff;
}

.block.story .text.regtext a {
  color: #0077cc;
  text-decoration: none;
}

.block.story .text.regtext a:hover {
  text-decoration: underline;
}

ul.ui-form {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}

ul.ui-form2 {
  list-style: none;
  padding: 0;
  margin: 0 20px 0 20px;
}


ul.ui-form li.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

ul.ui-form li.form-group.imp label {
  font-weight: 600;
}

ul.ui-form li.form-group label {
  margin-bottom: 6px;
  font-size: 0.95em;
}

input.wide,
textarea.wide {
  padding: 8px 10px;
  font-size: 1em;
  border: 1px solid #bbb;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input.wide:focus,
textarea.wide:focus {
  border-color: #0077cc;
  outline: none;
  background: #fff;
}

.login_check {
  display: flex;
  gap: 8px;
  align-items: center;
}

.login_check input[type="text"] {
  flex-grow: 1;
}

.login_check button.btn {
  padding: 7px 14px;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  transition: background-color 0.3s;
}

.login_check button.btn:hover {
  background: #005a99;
}

#result-registration {
  margin-top: 6px;
  font-size: 0.9em;
  color: #d00;
  min-height: 18px;
}

.form_submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form_submit button.btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px 15px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form_submit button.btn:hover {
  background-color: #218838;
}

.c-capcha {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.c-capcha input[type="text"] {
  margin-top: 6px;
}

.user_fields {
  /* container for additional fields */
  margin-top: 10px;
}


























/* Медиа-запрос для мобильных экранов (например, max-width: 600px) */
@media (max-width: 600px) {
  .row.my {
    flex-direction: column;
    /* выставляем колонки вертикально */
    gap: 10px;
  }

  .col-md-6.my,
  .col-md-9.my,
  .col-md-3.my {
    flex: 1 1 45%;
    /* элементы занимают всю ширину */
  }
}


/* Основная обертка */
.messenger-wrapper {
  display: flex;
  min-height: 100vh;
  background: #08142d;
  color: #fff;

  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Левая панель */
.messenger-sidebar {
  width: 30%;
  background: #071021;
  display: flex;
  flex-direction: column;
  border-right: 1px solid 1px solid #1b293d;
}

.sidebar-header {
  padding: 20px 20px 10px;
  border-bottom: 1px solid 1px solid #1b293d;
}

.sidebar-header h2 {
  margin: 0 0 15px;
  font-size: 18px;
}

.dlgs {
  
}

.sidebar-nav span {
  clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);

  display: inline-block;
  margin-right: 10px;
  padding: 6px 10px;
  background: #9f7db1;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
}

.sidebar-nav span:hover {
  background: #ff2e48;
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
}

.pmlist {
  padding: 10px;
}

.pmlist div {

  margin-bottom: 8px;
  background: #2d4362;

  cursor: pointer;

}

.pmlist div:hover {
  background: #2d4362;
}

.pm_subj {
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
}

.pm_last_message {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.pm_with_user {
  font-size: 11px;
  font-weight: 500;
  color: #ccc;
}

.pm_last_user {}

.pm_last_date {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.pm_subj:hover {
  background: transparent;
}

.pm_last_message:hover {
  background: transparent;
}

.pm_with_user:hover {
  background: transparent;
}



/* Правая панель (чат) */
.messenger-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #08142d;
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid #1b293d;
}

.pm_status {
  font-size: 13px;
  color: #aaa;
}


/* Сообщения */
.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
  overflow-y: auto;
}

.message-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  display: flex;
  align-items: flex-start;
}

.message .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 10px;
}

#comment-editor {
  width: 96%;
}
/*T3s*/
.message.n-own {
    display: flex;
    justify-content: flex-end;
}
.message.n-own .bubble {
    background-color: #010619;
}
/*T3s - end*/
.bubble {
  background: #9f7db1;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  max-width: 70%;
  word-wrap: break-word;
}

.bubble-header {
  font-size: 13px;
  color: #fff;
  margin-bottom: 5px;
}

.signature {
  margin-top: 5px;
  font-size: 12px;
  color: #777;
}

/* Форма отправки */
.reply-box {
  border-top: 1px solid #333;
  padding: 15px;
}

.reply-box textarea {
  width: 100%;
  height: 80px;
  background: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  resize: none;
}

.btn {
  background: #6abc3a;
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
  font-weight: bold;
  margin-left: 0px;
}

.btn:hover {
  background: #7cd94a;
}

.btn.preview {
  background: #444;
  margin-left: 10px;
}

/* Форма нового сообщения */
.new-message {
  padding: 15px;
}

.addform .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.addform input {
  width: 90%;
  min-width: 200px;
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  border: none;
  background: #fff;
  color: rgb(24, 49, 83);
  margin-bottom: 10px;
}

.form-actions {
  margin-top: 10px;
}

/* 📱 Адаптивность */
@media (max-width: 900px) {
  .messenger-wrapper {
    flex-direction: column;
  }

  .messenger-sidebar {
    width: 100%;
    height: 40vh;
  }

  .messenger-chat {
    height: 60vh;
  }
}

.theme-messages {
  font-weight: normal;
  padding: 0 15px;
  margin-top: 10px;
  font-size: 20px;
}

.answer-messages {
  font-weight: 600;
  padding: 0 0px;
  margin-top: 10px;
  font-size: 20px;
}





















ul,
li {
  list-style: none;
  padding: 5px;
}

.form_submit {
  padding: 0 10px;
}

.heading {
  margin: 15px 30px 0;

  font-size: 12px;
  margin-bottom: 10px;
}

.form-control-feedback {
  width: 150px;
  height: 30px;
  border-radius: 4px;
  margin-top: 20px;
}

.line-block {
  border: 1px solid #1b293d;
  margin: 20px;
  margin-top: 45px;
  border-radius: 4px;
  width:100%;
}

.line-block-m {
  border: 1px solid #1b293d;
  margin: 0px 10px;
  border-radius: 4px;
  padding: 20px;
  font-size: 14px;
}

.line-block-p {
  border-left: 4px solid #6abc3a;
  padding-left: 20px;
  font-size: 12px;
  margin: 20px;
  text-align: center;
}

.list-group-item {
  margin-bottom: 20px;
}

.c-captcha {
  margin-top: 20px;
  color: #fff;
  font-weight: 600;
}

label[for="sec_code"] {
  /* жирный текст */
  color: #fff;
  /* цвет текста */
  /* размер шрифта */

}

.submitline {
  margin: 20px;
}

textarea.form-control {
  height: 200px;
}

#searchContainer {
  position: sticky;
  top: 50px;
  background: #fff;
  z-index: 2000;
  padding: 0;
  border-bottom: 0px solid #010619;
}

#searchBox {

  width: 100%;
  height: 47px;
  font-size: 1rem;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid rgb(27, 41, 61);
  border-bottom: 0px solid #010619;
  background:  #08142d;
  color: #fff;
  outline: none;
  border-radius: 0;
  margin: 0;
  z-index: 1;
}



#searchBox::placeholder {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

#searchContainer input {
  padding-left: 62px;
  /* Отступ для текста, чтобы не налезал на иконку */
  width: 100%;
  box-sizing: border-box;
  padding-top: -2px;
  z-index: 1;
}






#searchBox:focus,
#searchBox:not(:placeholder-shown) {
  border-color: #7accff;
  border-bottom: 1px solid #7accff;
  background: #08142d;
  color: #fff;
}






 .font-td {font-size:18px;}




tr {
  border-color: #010619 !important;
}

#searchContainer .svg {
  position: absolute;
  left: 2px;
  /* Отступ слева */
  top: 4px;
  transform: translateY(-50%);
  pointer-events: none;
  /* Чтобы клики игнорировались */
}







tbody {
  display: table-row-group;
  vertical-align: middle;
  unicode-bidi: isolate;
  border-color: #010619;
}



.table-wrapper {

  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  /* или фиксированную ширину по дизайну */
  overflow-x: scroll;
  box-sizing: border-box;


}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  text-align: center;
  border: 1px solid #010619;
  border-top: 0px;
  background: transparent;
}



thead tr {
  background: #1b293d;
  color: white;
  height: 49px;

}

thead th {
  border: 1px solid #010619;
  padding: 8px;
  white-space: nowrap;

}

th,
td {

  /* Горизонтальное выравнивание по центру */
  width: auto;
  /* для остальных */
  border: 1px solid #010619;
  padding: 8px;
  max-width: 100%;
  /* ограничение максимальной ширины */
  white-space: normal;
  /* разрешаем перенос текста */
  word-wrap: break-word;
  /* перенос слов для длинных цепочек без пробелов */
  overflow-wrap: break-word;
  /* тоже для переноса */
  font-size: 14px;
  vertical-align: middle;
  background: transparent;
  color: white;
}

tbody tr {
  background-color: #2d4362;
  /* основной фон строк */

}

tbody tr:hover {
  background-color: #1b293d !important;
  /* hover всего ряда */

  color: #fff;
}

tbody tr:hover td {
  color: #fff;
  /* меняем цвет текста при hover */
}

tbody tr {
  cursor: pointer;
}

th {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 24px;
}

th .arrow-up,
th .arrow-down {
  position: absolute;
  right: 8px;

  font-size: 0.7rem;
  color: #bbb;
  user-select: none;
  pointer-events: none;
}

th .arrow-up {
  top: 11px;
}

th .arrow-down {
  top: 21px;
}

th.sort-asc .arrow-up {
  color: #47b8fc;
}

th.sort-desc .arrow-down {
  color: #47b8fc;
}



tbody tr {
 
  
  
  width: 100%;
  border: 5px solid #010619; /* Толще бордер для выделения */
  background-color:#2d4362;

  position: relative;
  
  cursor: pointer;
  /* Тень и эффект для карточки, по желанию */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  /* clip-path для закругленных углов или сложных форм */
  clip-path: polygon(
    7px 0, calc(100% - 7px) 0,
    calc(100% - 7px) 7px,
    100% 7px,
    100% calc(100% - 7px),
    calc(100% - 7px) calc(100% - 7px),
    calc(100% - 7px) 100%,
    7px 100%,
    7px calc(100% - 7px),
    0 calc(100% - 7px),
    0 7px,
    7px 7px
  );

}

tbody tr:hover {
  background-color: #1b293d !important;

}

tbody tr td {

  padding: 8px;
  white-space: normal;

  font-size: 15px;
  color: white;
  
}

tbody tr td:first-child {
  border-left: none; /* Можно оставить для стильности */
}

tbody tr td:last-child {
  border-right: none;
}


@media (max-width: 450px) {
tbody tr td {

  
  font-size: 11px;

}
}


.table-comment p {margin-top:0px;margin-bottom:10px;}



.img-link-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-tbl {
  background: #73b391;
    background: linear-gradient(0deg, #73b391, #306b69);
   
    border: 1px solid #73b391;
  
  
  padding: 5px;
  border-radius: 2px;
 
  text-align: center;

  clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px);


}

.image-tbl:hover {
  background: #2d4362;


}

.img-link-cell img {
  max-width: 100px;
  height: auto;
  display: block;
}

.img-link-cell span {
  color: #fff;
  font-weight: 600;
}

.editable-cell {
  position: relative;
  margin-bottom: 10px;

  user-select: text;
  text-align: center;
}

.editable-text {
  display: inline-block;
  min-width: 30px;
  outline-offset: 2px;
  cursor: default;
  color: white;
  padding: 40px 0;
  font-size:20px; font-weight:500;
}

.editable-text[contenteditable="true"] {
  cursor: text;
  color: #fff;
}

.editable-text[contenteditable="true"]:focus {
  outline: 2px solid #7accff;
  background-color: #123456;
}

.editable-cell svg {
  position: absolute;
  bottom: 6px;
  width: 18px;
  height: 18px;
  fill: #aaa;
  cursor: pointer;
  transition: fill 0.3s ease;
  user-select: none;
  background: #3d5b85;
  padding: 5px;
  border-radius: 2px;
  border: 0.5px solid #8fa8cc;

}

.editable-cell svg:hover {
  background: #2d4362;
}

.editable-cell svg.toggle-btn {
  right: 6px;
}

.editable-cell svg.edit-btn {
  right: 40px;
}

.editable-cell svg:hover {
  fill: #7accff;
}

@media (max-width: 768px) {

  #searchContainer {
    position: sticky;
    top: 146px;
    background: #010619;
    z-index: 1; /*400*/
    padding: 0;
    border-bottom: 1px solid #010619;
  }


}
@media (max-width: 1320px) {
.segment {width:8px;}
}



@media (max-width: 600px) {



  table {
    font-size: 13px;
    min-width: 600px;
  }

  th,
  td {
    padding: 6px 4px;
  }
}

@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
  }

  table {
    min-width: 500px;
  }

  th,
  td {
    font-size: 12px;
    padding: 5px 3px;
  }
}

.sign-form-width {
  width: 100%;
}

.form-control {
  width: 98%;
  border-radius: 6px;
  height: 30px;
  font-size: 24px;
}



.lgin {
  margin-top: 15px;
  font-size: 13px;
 
  margin-bottom: 10px;
}

.button-sign {
  text-align: center;
  margin-bottom: 10px;
}

.centered-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  position: relative;
 
  margin: 20px 0 30px 0;
}



.centered-text::before,
.centered-text::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #162136;
  margin: 0 10px;
}

.checkbox {


  font-size: 10px;
  margin: 20px 0;

}

.margin {
  margin: 25px 0 20px 0;
}

.form-group {
  margin-left: -2px;
}

.button-sign {
  margin-top: 0px;
}

.button-blue-sign {
  width: 100%;
}

.button-sign-2 {
  display: flex;
}