

/* Start:/local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17656355294192*/
/* Уникальные стили для компонента поиска */
.custom-search-component {
    position: relative;
    z-index: 1000; /* Повышенный z-index для игнорирования других компонентов */
}
.custom-search-component__form {
    display: flex;
    width: 114%;
    position: relative;
}
.custom-search-component__input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 15px 0 45px;
    border: 2px solid rgba(255, 191, 4, 1) !important;
    border-radius: 5px 0 0 5px !important;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    width: 100%;
    background-color: #fff !important;
    color: #000 !important;
}
.custom-search-component__input:focus {
    border-color: rgba(255, 160, 0, 1) !important;
    box-shadow: 0 0 5px rgba(255, 191, 4, 0.5) !important;
}
.custom-search-component__btn {
    height: 40px;
    padding: 0 20px;
    border: 2px solid rgba(255, 191, 4, 1) !important;
    border-left: none !important;
    border-radius: 0 5px 5px 0 !important;
    background-color: rgba(255, 191, 4, 1) !important;
    color: black !important;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}
.custom-search-component__btn-mob {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
}
.custom-search-component__icon {
    width: 20px;
    height: 20px;
    fill: #181818;
}

/* Popover стили */
.custom-search-popover {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    margin-top: -1px;
}
.custom-search-popover.active {
    display: block !important;
}
.custom-search-popover__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}
.custom-search-popover__title {
    font-weight: 500;
    font-size: 14px;
}
.custom-search-popover__clear {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}
.custom-search-popover__clear:hover {
    color: #000;
    text-decoration: underline;
}
.custom-search-popover__content {
    max-height: 250px;
    overflow-y: auto;
}
.custom-search-popover__history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-search-popover__history-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-search-popover__history-list li:hover {
    background: #f5f5f5;
}
.custom-search-popover__empty {
    padding: 15px;
    text-align: center;
    color: #888;
    font-style: italic;
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
    .custom-search-component {
        width: calc(100% - 10px) !important;
        margin: 0 5px !important;
        max-width: none !important;
    }
    
    .custom-search-component__input {
        padding-left: 45px !important;
        border-radius: 20px !important;
        border-right: 2px solid rgba(255, 191, 4, 1) !important;
    }
    
    .custom-search-component__btn {
        display: none !important;
    }
    
    .custom-search-component__btn-mob {
        display: flex !important;
    }
    
    .custom-search-popover {
        border-radius: 5px;
        margin-top: 5px;
    }
    .custom-search-component__form {
    width: 100%;
}
}
/* Для планшетов и десктопов */
@media (min-width: 768px) {
    .custom-search-component {
        max-width: 700px;
        position: relative;
    }
    
    .custom-search-component__btn {
        min-width: 100px;
    }
}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/system.auth.form/custom_auth_form/style.css?17656355292149*/
.profile-wrapper {
    position: relative;
    display: inline-block;
}
.profile-trigger {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}
.profile-icon-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    position: relative;
    z-index: 1001;
}
.profile-icon-link:hover {
    text-decoration: none;
    color: #333;
}
.profile-popover {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    visibility: hidden;
}
.profile-trigger.active .profile-popover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.profile-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}
.profile-header span {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.profile-email {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.profile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.profile-menu li {
    border-bottom: 1px solid #f0f0f0;
}
.profile-menu li:last-child {
    border-bottom: none;
}
.profile-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.profile-menu a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}
.profile-menu i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}
.auth-link {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    display: block;
}
.auth-link:hover {
    text-decoration: none;
    color: #333;
}

@media (max-width: 768px) {
    .profile-wrapper {
        display: none;
    }
}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/menu/top_menu/style.css?1765635557884*/
.navtolog {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    padding: 0;
}
.navtolog-inner {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0;
}
.navtolog-item {
    position: relative;
    margin: 0 15px;
    padding: 0;
}
.navtolog-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.navtolog-link:hover {
    color: #ff0000; /* Красный цвет при наведении */
}
.navtolog-active .navtolog-link {
    color: #FFBF04;
    font-weight: 600;
}
/* Скрываем меню на мобильных устройствах */
@media (max-width: 768px) {
    .navtolog {
        display: none;
    }
}
/* End */
/* /local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17656355294192 */
/* /local/templates/Egroup/components/bitrix/system.auth.form/custom_auth_form/style.css?17656355292149 */
/* /local/templates/Egroup/components/bitrix/menu/top_menu/style.css?1765635557884 */
