.no-link{
    color: white;
    text-decoration:none;
}
.nav-link:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffd600;
}


.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.3); }

.tooltip.show {
  opacity: 1;
}

.tooltip-inner {
  background-color: #ffdd00;
  color: #484747;
  font-size: 15px;
  opacity: 1 !important;
}

.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: #ffdd00 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
 border-left-color: #ffdd00 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
 border-bottom-color: #ffdd00 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
 border-top-color: #ffdd00 !important;
}
.overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  z-index: 10; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}
.over_text {
  position: absolute;
  top: 36%;
  left: 36%;
}
.arrows {
  position: relative;
  cursor: pointer;
}
.sortOrder {
  display: none;
}
.sortOrder + .arrows:after {
  content: ' ';
  position: absolute;
  left: 1px;
  bottom: -22px;
  border: 8px solid transparent;
  border-top: 8px solid #fccd57;
  border-width: 9px 5px;
}
.sortOrder:checked + .arrows:after {
  content: ' ';
  position: absolute;
  left: 1px;
  bottom: -22px;
  border: 8px solid transparent;
  border-top: 8px solid gray;
  border-width: 9px 5px;
}
.sortOrder + .arrows:before {
  content: ' ';
  position: absolute;
  left: 1px;
  bottom: -2px;
  border: 8px solid transparent;
  border-bottom: 8px solid gray;
  border-width: 9px 5px;
}
.sortOrder:checked + .arrows:before {
  content: ' ';
  position: absolute;
  left: 1px;
  bottom: -2px;
  border: 8px solid transparent;
  border-bottom: 8px solid #68dc68;
  border-width: 9px 5px;
}

.custom-file-button input[type=file] {
  margin-left: -2px !important;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
  display: none;
}

.custom-file-button input[type=file]::file-selector-button {
  display: none;
}

.custom-file-button:hover label {
  background-color: #dde0e3;
  cursor: pointer;
}

.font-24{
 font-size: 24px;
}

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

.font-12{
 font-size: 12px;
}

.faded {
    animation: fadeInAnimation ease 1.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.img-zoom {
  transition: transform .2s; /* Animation */
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.img-zoom:hover {
  transform: scale(3)
}

.img-zoom-orig {
  transition: transform .2s; /* Animation */
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.img-zoom-orig-clicked {
  transform: scale(2)
}

@keyframes blink {
      0% { opacity: 1; }
      50% { opacity: 0; }
      100% { opacity: 1; }
    }

    .blink-badge {
        animation: blink 2.3s infinite;
    }

@keyframes y_border_blink {
        0% { border-color: yellow; }
        50% { border-color: transparent; }
        100% { border-color: yellow; }
    }

.y_border_blinking {
        animation: y_border_blink 3s infinite;
    }
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink-yb {
      0% {
        border-color: #ffc107;
      }
      50% {
        border-color: transparent;
      }
      100% {
        border-color: #ffc107;
      }
    }

.blink-y-border {
  border: 2px solid #ffc107; /* Bootstrap warning color */
  animation: blink-yb 3s infinite;
}

.blink-y-border-rounded {
      border: 2px solid #ffc107; /* Bootstrap warning color */
      border-radius: 50%; /* Makes the border rounded for a circle effect */
      animation: blink-yb 3s infinite;
      transition: transform 0.3s ease; /* Smooth transition for the hover effect */
      display: inline-block; /* Ensures the element respects its original size */
      overflow: hidden; /* Prevents overflow issues during animation */
    }

.blink-y-border-rounded:hover {
  transform: scale(1.4); /* Enlarge by 30% on hover */
}


.fadeInLeft {
  animation: fadeInLeft 0.5s ease-in-out;
}
@keyframes fadeInRight {
      0% {
        opacity: 0;
        transform: translateX(100%);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }
.fadeInRight {
  animation: fadeInRight 0.5s ease-in-out;
}

.input-light-grey {
    background-color: #f0f0f0; /* light grey */
}

.input-white {
    background-color: #ffffff; /* white */
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.badge-warning-custom {
    display: inline-block;
    border: 1px solid #ffc107; /* Цвет warning */
    padding: 4px 8px;
    border-radius: 8px; /* Закругленные края */
    background-color: rgba(255, 193, 7, 0.1); /* Легкий фон */
    font-size: 14px;
    color: #856404; /* Цвет текста warning */
}

.alert-container {
  background-color: #fff;
  border: 2px solid #ffd700;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  max-width: 700px;
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.section-title {
      font-weight: bold;
      font-size: 20px;
       color: #616060;
      margin-bottom: 10px;
      border-left: 4px solid #ffd700;
      padding-left: 10px;
}


.dropdown-item.active{
    background-color: #505050 !important; /* цвет при наведении/активный */
    color: #fff !important;
}

.enter_dropdown-bottom {
    position: relative;
}

.enter_dropdown-bottom summary {
    list-style: none;
    cursor: pointer;
}

.enter_dropdown-bottom summary::-webkit-details-marker {
    display: none;
}

.enter_dropdown-bottom .enter_dropdown-menu {
    position: absolute;
    top: 100%; /* сразу под summary */
    left: 50%;
    transform: translate(-50%, -10px); /* центрируем и поднимаем чуть для анимации */
    z-index: 1000;

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;

    background-color: #fff;
    border-radius: 10px;
    min-width: 200px;
    padding: 0;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.enter_dropdown-bottom[open] .enter_dropdown-menu {
    max-height: 500px;
    opacity: 1;
    transform: translate(-50%, 0); /* анимация выпадания вниз */
    padding: 8px 0;
}

.enter_dropdown-bottom .enter_dropdown-item {
    color: #575757;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

.enter_dropdown-bottom .enter_dropdown-item:hover {
    background-color: #f5f5f5;
}

.accessories-icons {
    display: flex;
    justify-content: center; /* центрируем по горизонтали */
    align-items: center;     /* выравниваем по вертикали */
    gap: 8px;                /* расстояние между иконками */
}

.accessories-icons svg {
    width: 100px; /* можно уменьшить размер */
    height: 100px;
}

.sidebar-logo {
    text-decoration: none;
    display: inline-block;
}

.logo-text-sidebar {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #767b80; /* серый, как в заголовке на скрине */
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo-text-sidebar .highlight-sidebar {
    font-weight: 700;
    color: #a6aaae;
}

.exc-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 32px;
    border: 1px solid #c4c5c6;
    color: #0e0e0e;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.65rem;
}

.badge-soft {
  border: 1px solid currentColor;   /* рамка = акцентный цвет */
  font-weight: 500;
  padding: .45rem .6rem;
  border-radius: 9px;
  letter-spacing: .2px;

  color: #3a3f45;                   /* спокойный тёмный текст */
}

.badge-soft b {
  color: #5f6367;                   /* чуть темнее для суммы */
}

.nav-chevron {
  transition: transform .2s ease;
}

a[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.tnved-warning {
    margin-top: 6px;
    font-size: 12.5px;
    color: #c94a4a;          /* мягкий красный */
    background: #fff5f5;    /* лёгкая подложка */
    border-left: 3px solid #e06666;
    padding: 6px 8px;
    border-radius: 4px;
}

.tnved-note {
    color: #6c757d;          /* основной серый текст */
    background: #f5f6f7;    /* лёгкая серая подложка */
    border-left: 3px solid #adb5bd; /* серая полоска */
    padding: 6px 8px;
    border-radius: 4px;
}

/* Общий блок контакта */
.contact-block {
    margin-top: 20px;   /* ← отступ сверху */
}

/* Заголовок */
.contact-title {
    font-weight: 600;
}

/* Подзаголовок */
.contact-subtitle {
    margin-top: 4px;
    color: #6c757d;
}

#contact_form_wrap .input-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

#contact_form_wrap .input-valid {
    border-color: #198754 !important;
    background-color: #f6fffa;
}

#contact_form_wrap .contact-error-text {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
}

.size-check{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;
  margin-left: 6px;

  border-radius: 50%;
  border: 1.5px solid #ffc107;          /* bootstrap warning */
  color: #ffc107;

  font-weight: 700;
  font-size: 13px;
  line-height: 1;

  background-color: #f8f9fa;            /* светло-серый */
}

/* активное состояние */
.size-check:not(.d-none){
  background-color: #ffc107;
  color: #212529;                       /* тёмно-серый */
  border-color: #ffc107;
}


.archive-comment-preview {
    width: 190px;
}

.archive-comment-card {
    background: #fff7db;
    border: 1px solid #f1d98a;
    border-radius: 12px;
    padding: 10px 12px;
    color: #5f4b1f;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: hidden;
    cursor: pointer;
}

.captcha-refresh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c757d;
  transition: color 0.2s ease;
}

.captcha-refresh-icon:hover {
  color: #495057;
}
