
.apps-menu-dropdown {
    display: grid;
} 

.apps-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--main-colors-grey-2);
}

.apps-menu-item__icon {
    width: 32px;
    height: 32px;
}

.apps-menu-item__title-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.apps-menu-item__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color:var(--main-colors-black);
}

.apps-menu-item__title-wrapper .apps-menu-item__title {
    color: var(--main-colors-black);
}

.apps-menu-item--planable .apps-menu-item__title {
    color: var(--main-colors-blue);
}

.apps-menu-item__title-wrapper svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.apps-menu-item__description {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: var(--main-colors-black-2);
    margin-top: 0;
}

.apps-menu-item__action {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-menu-item__action svg {
    width: 24px;
    height: 24px;
}  

.apps-menu-item--selected {
    position: relative;
}

.apps-menu-item--selected::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background-image: url('/wp-content/themes/se_theme/template-parts/header-2025/apps-menu/assets/images/check.png');
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (min-width: 768px) {
    .header__apps-menu {
        position: relative;
        display: flex;
        align-items: center;
        line-height: 0;
    }
    
    .header__apps-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }
    
    .header__apps-menu-toggle svg {
        width: 32px;
        height: 32px;
        display: block;
    }

    .header__apps-menu-toggle:hover svg path {
        fill: var(--main-colors-black);
    }
    
    .header__apps-menu-content {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 1000;
        display: none;
    }
    
    .header__apps-menu.active .header__apps-menu-content {
        display: block;
    }
    
    .apps-menu-dropdown {
        width: 320px;
        background: #ffffff;
        border: 1px solid #ecf1f9;
        border-radius: 8px;
        box-shadow: 0px 4px 6px 1px rgba(0, 0, 0, 0.05);
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .apps-menu-item {
        border-bottom: none;
        padding: 0 12px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
    
    .apps-menu-item--selected {
        background: #ecf1f9;
        padding: 12px;
        pointer-events: none;
    }

    .apps-menu-item--selected:after {
        right: 12px;
    }
    
    .apps-menu-item:hover {
        text-decoration: none;
    }
    
    .apps-menu-item:hover .apps-menu-item__title {
        color: var(--main-colors-blue);
    }
    
    .apps-menu-item:hover .apps-menu-item__title-icon path {
        fill: var(--main-colors-blue);
    }     
}
