

/* Start:/local/templates/main/components/itech/page/docs_prod_reestrs/style.css?17580997847377*/
.reestrs-tabs {
    margin: 20px 0;
    position: relative;
}

.reestrs-tabs__nav {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    position: relative;
}

.reestrs-tabs__nav-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
    font-size: 14px;
    min-width: 16%;
    display: flex;
    align-items: flex-end;
    /* min-height: 60px; */
}

.reestrs-tabs__nav-item:hover {
    color: #333;
}

.reestrs-tabs__nav-item.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
}

/* Мобильное меню для переключателя реестров */
.reestrs-tabs__mobile-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.reestrs-tabs__mobile-toggle:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.reestrs-tabs__mobile-toggle:active {
    transform: translateY(1px);
}

.reestrs-tabs__mobile-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.reestrs-tabs__mobile-toggle.active svg {
    transform: rotate(180deg);
}

.reestrs-tabs__mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

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

.reestrs-tabs__mobile-menu.active {
    display: block;
}

.reestrs-tabs__mobile-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.reestrs-tabs__mobile-item:hover {
    background: #f8f9fa;
    color: #333;
    padding-left: 25px;
}

.reestrs-tabs__mobile-item:active {
    background: #e9ecef;
    transform: scale(0.98);
}

.reestrs-tabs__mobile-item.active {
    background: #ff6b00;
    color: white;
    font-weight: 600;
}

/* .reestrs-tabs__mobile-item.active::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
} */

.reestrs-tabs__mobile-item:last-child {
    border-bottom: none;
}

.reestrs-tabs__content-item {
    display: none !important;
}

.reestrs-tabs__content-item.active {
    display: block !important;
}

.documents-group {
    margin-top: 42px;
    margin-bottom: 40px;
}

.new-product-content-header h3 {
    margin-bottom: 20px;
    color: #333;
}

.accordion__item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.accordion__header {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s ease;
}

.accordion__header:hover {
    background: #e9ecef;
}

.accordion__body {
    padding: 20px;
    /* display: none; */
}

.accordion__body .documents__preview__image {
    max-width: 100%;
    object-fit: contain !important;
}

.accordion__item.active .accordion__body {
    display: block;
}

.accordion__item.active .accordion__header {
    background: #ff6b00;
    color: white;
}

/* Исправляем прозрачность элементов с документами */
.documents__item {
    opacity: 1 !important;
}

.documents__item.col {
    opacity: 1 !important;
}

/* Мобильная адаптация */
@media screen and (max-width: 768px) {
    .reestrs-tabs__nav {
        display: none;
    }
    
    .reestrs-tabs__mobile-toggle {
        display: flex;
    }
    
    .reestrs-tabs__mobile-menu {
        display: none;
    }
    
    .reestrs-tabs__mobile-menu.active {
        display: block;
    }
    
    .documents-group__content .grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .documents-group {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .documents__item {
        margin-bottom: 15px;
        transition: transform 0.2s ease;
    }
    
    .documents__item:hover {
        transform: translateY(-2px);
    }
    
    .accordion__header {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .accordion__body {
        padding: 15px;
    }
    
    .new-product-content-header h3 {
        font-size: 22px!important;
        margin-bottom: 15px;
    }
    .documents-group__section {
        margin-top: 28px;
    }
    
    /* Улучшенная прокрутка для мобильных устройств */
    .reestrs-tabs__mobile-menu {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 #f1f1f1;
    }
    
    .reestrs-tabs__mobile-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .reestrs-tabs__mobile-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .reestrs-tabs__mobile-menu::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
    
    .reestrs-tabs__mobile-menu::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

@media screen and (max-width: 480px) {
    .reestrs-tabs__mobile-toggle {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .reestrs-tabs__mobile-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .reestrs-tabs__mobile-item:hover {
        padding-left: 20px;
    }
    
    .documents__info {
        font-size: 13px;
    }
    
    .document__name {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .reestrs-tabs__mobile-menu {
        max-height: 250px;
    }
}

/* Улучшения для планшетов */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .reestrs-tabs__nav-item {
        min-width: 20%;
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .reestrs-tabs__mobile-toggle {
        display: none;
    }
    
    .reestrs-tabs__nav {
        display: flex;
    }
}

/* Анимации для плавных переходов */
.reestrs-tabs__content-item {
    animation: fadeIn 0.3s ease-in;
}

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

/* Улучшенные состояния фокуса для доступности */
.reestrs-tabs__mobile-toggle:focus,
.reestrs-tabs__mobile-item:focus {
    outline: 2px solid #ff6b00;
    outline-offset: 2px;
}

.reestrs-tabs__nav-item:focus {
    outline: 2px solid #ff6b00;
    outline-offset: 2px;
}

/* End */
/* /local/templates/main/components/itech/page/docs_prod_reestrs/style.css?17580997847377 */
