

.icon-title
{
    color: #999;
    font-weight: 400;
    font-size: 12px;
}




.header-icons-container
{
    display: inline-block;  vertical-align: middle; height: 100%;
}
.header-icons
{
    display: inline-flex; align-items: center; gap: 0px;
    height: 100%; margin-top: 9px;
}
.icon-container
{
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 82px;


}
.icon-title
{
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 85px;
}

.icon-container-ogr
{
    position: relative;
}
.icon-badge
{
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: red;
    color: white;
    border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center;
    justify-content: center; font-size: 10px; font-weight: bold; line-height: 1;
}



.icon-svg
{
    width: 22px;
    height: 22px;
    fill: #999;
    transition: fill 0.2s;
}




.icon-container:hover .icon-svg {
    fill: #0066cc;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
.icon-container:hover .icon-svg
{
    fill: #9d080d;
}

.icon-svg-sign
{
    width: 25px;
    height: 25px;
    fill: #999;
    transition: fill 0.2s;
}
.icon-container:hover .icon-svg-sign
{
    fill: #9d080d;
}

.icon-container:hover .icon-title
{
    color: #9d080d;
}




#specialists-icon:hover .icon-svg
{
    fill: #0086c8;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#specialists-icon:hover .icon-title
{
    color: #0086c8;
}
.specialists-icon-active .icon-svg
{
    fill: #0086c8;
}
.specialists-icon-active .icon-title
{
    color: #0086c8;
}


#labs-icon:hover .icon-svg
{
    fill: #45ae38;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#labs-icon:hover .icon-title
{
    color: #45ae38;
}
.labs-icon-active .icon-svg
{
    fill: #45ae38;
}
.labs-icon-active .icon-title
{
    color: #45ae38;
}



#devices-icon:hover .icon-svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#devices-icon:hover .icon-svg circle,
#devices-icon:hover .icon-svg path:nth-of-type(1) {
    stroke: #0066cc;
}
#devices-icon:hover .icon-svg path:nth-of-type(2) {
    stroke: #e74c3c;
}
#devices-icon:hover .icon-title
{
    color: #777;
}



.devices-icon-active .icon-svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
.devices-icon-active .icon-svg circle,
.devices-icon-active .icon-svg path:nth-of-type(1) {
    stroke: #0066cc;
}
.devices-icon-active .icon-svg path:nth-of-type(2) {
    stroke: #e74c3c;
}
.devices-icon-active .icon-title
{
    color: #777;
}




#account-icon:hover .icon-svg
{
    fill: #999;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#account-icon:hover .icon-title
{
    color: #999;
}

#orders-icon:hover .icon-svg
{
    fill: #999;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#orders-icon:hover .icon-title
{
    color: #999;
}

#favorites-icon:hover .icon-svg
{
    fill: red;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}
#favorites-icon:hover .icon-title
{
    color: red;
}

.text-level-price
{
    color: #999;
    margin-left: 5px;
}

@media (max-width: 1280px)
{
    .icon-container
    {
        width: 100%;
    }
    .icon-title
    {
        display: none;
    }
    .header-icons
    {
        gap: 20px;
    }

}







.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    z-index: 1000;
}

.account-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.account-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

.account-dropdown-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px 12px 0 0;
}

.account-user-avatar {
    margin-right: 12px;
}

.account-user-info {
    flex: 1;
}

.account-user-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.account-user-email {
    font-size: 13px;
    color: #777;
}


.account-dropdown-item-text
{
    display: flex;
    align-items: center;
    padding: 5px;
    padding-left: 12px;
    color: #38c;
    /* color: red; */
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    font-size: 14px;
}
.account-dropdown-item-icon
{
    width: 20px;
}
.account-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    font-size: 14px;
}
.account-dropdown-item svg {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #555;
}
.account-dropdown-item:hover {
    background: #f5f5f5;
    color: #000;
}
.account-dropdown-item:hover svg {
    fill: #000;
}

.notification-badge {
    background: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.account-dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}


@media (max-width: 768px) {
    .account-dropdown {
        width: 90vw;
        left: 5vw;
        transform: translateY(10px);
    }

    .account-dropdown.active {
        transform: translateY(0);
    }

    .account-dropdown::before {
        left: 50px;
        transform: translateX(0);
    }
}





.auth-block {
    max-width: 400px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}

.auth-header {
    margin-bottom: 20px;
}

.auth-description {
    font-weight: normal;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.auth-buttons {
    display: flex;
    gap: 12px;

}

.auth-btn {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.a-btn
{
    width: 50%;
    text-decoration: none;
}

.login-btn {
    background: #999;
    color: white;
    border: 1px solid #999;
}
.login-btn:hover {
    background: rgba(153, 153, 153, 0.8);
}

.register-btn {
    background: white;
    color: #999;
    border: 1px solid #999;
}
.register-btn:hover {
    background: #F0F5FF;
}

.social-divider {
    position: relative;
    text-align: center;
    color: #999;
    font-size: 13px;
    margin: 0 0 16px;
}

.social-divider:before,
.social-divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.social-divider:before {
    left: 0;
}

.social-divider:after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    background: #f9f9f9;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.vk-btn {
    color: #0077FF;
}

.mail-btn {
    color: #168DE2;
}



.account-dropdown-header-title
{
    display: flex;
    align-items: center;
    padding: 16px;
}
.userMenuTitle1
{
    text-align: left;
    color: blue;
    font-weight: normal;
}
.userMenuTitle2
{
    text-align: left;
    text-decoration: none;
    color: black;
    font-weight: normal;
}
.userMenuBut
{
    padding: 5px;
    background: #999;
    color: white;
    width: 70px;
    margin-top: 2px;
    border-radius: 3px;
    float: right;
    text-align: center;
}

